aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0369-Fix-Per-World-Difficulty-Remembering-Difficulty.patch
diff options
context:
space:
mode:
authorBjarne Koll <[email protected]>2024-12-03 15:47:48 +0100
committerGitHub <[email protected]>2024-12-03 15:47:48 +0100
commitda7138233f6392e791d790d1c3407414c855f9c2 (patch)
tree932f0ca91d60c5a0c7ec4fe6a2c407ff7c6061eb /patches/server/0369-Fix-Per-World-Difficulty-Remembering-Difficulty.patch
parentc2294d7067959d264eb8ad275557f194a3e2656f (diff)
downloadPaper-da7138233f6392e791d790d1c3407414c855f9c2.tar.gz
Paper-da7138233f6392e791d790d1c3407414c855f9c2.zip
Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11702)1.21.3
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: ed0ec489 SPIGOT-7965: Unknown TransformReason for Hoglins 9db03457 SPIGOT-7964: Fix typo in Deprecation annotation d14119af PR-1082: Add "since" to Deprecation annotations e8a318d4 PR-1067: Add method to get Advancement requirements CraftBukkit Changes: 40dd796db SPIGOT-7971: NotSerializableException on serialize CraftUseCooldownComponent fa85c5e0a SPIGOT-7968: ProjectileHitEvent not trigerred when arrow hits entity b75b792ec SPIGOT-7970: World#getMaxHeight() returning incorrect value 2b9a094bb SPIGOT-7965: Unknown TransformReason for Hoglins fd3f5a380 SPIGOT-7966: Some trees do not generate with #generateTree f2822317c PR-1515: Add a Class reader and Class node argument provider 07abf6852 PR-1514: Add a test case for ClassTraverser a7577cb24 Fix Inventory#addItem not respecting max stack size 066a74e74 PR-1490: Add method to get Advancement requirements 4a1df30e4 PR-1512: Test Art class based on specific values instead of the implementation, to better catch implementation changes 53254c56f PR-1503: Simplify CAS loop to getAndSet e9447dc5e Make BlockDataMeta#setBlockData hide unspecified states dd08a7120 SPIGOT-7960: Fix inconsistency between natural item drop coordinates e9e8ed753 SPIGOT-7960: Improve natural item drop methods Spigot Changes: 60c9969b Rebuild patches
Diffstat (limited to 'patches/server/0369-Fix-Per-World-Difficulty-Remembering-Difficulty.patch')
-rw-r--r--patches/server/0369-Fix-Per-World-Difficulty-Remembering-Difficulty.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0369-Fix-Per-World-Difficulty-Remembering-Difficulty.patch b/patches/server/0369-Fix-Per-World-Difficulty-Remembering-Difficulty.patch
index a0949c9fb2..ec9498320e 100644
--- a/patches/server/0369-Fix-Per-World-Difficulty-Remembering-Difficulty.patch
+++ b/patches/server/0369-Fix-Per-World-Difficulty-Remembering-Difficulty.patch
@@ -8,7 +8,7 @@ makes it so that the server keeps the last difficulty used instead
of restoring the server.properties every single load.
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
-index 3d2c70ab9938555c976588b0a98901d57876e51e..99b5877fc2f568929b35aa10638173bbef27503b 100644
+index c2ba34f6d5765fd8574a61825a6aab8fdd98a0f2..74515a58cd698ebca3ee98bd89a8f9de477736e7 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -850,7 +850,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop<TickTa
@@ -104,10 +104,10 @@ index ca8eb3216c4331a95ab44f923f6b49641662505f..9905555f249db72649bde8401835dd81
for (SpawnCategory spawnCategory : SpawnCategory.values()) {
if (CraftSpawnCategory.isValidForLimits(spawnCategory)) {
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
-index 0e074cabe81a7135773c59dbdd5607247fa8bf16..f3ebea4d228d53057e2480a59eda5774eba03bb4 100644
+index a526c27ab0b4ea8ed70d338accce63d028901fd2..d4d893d6472c5e46da83203be7cdaecf22376f1a 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
-@@ -1169,7 +1169,7 @@ public class CraftWorld extends CraftRegionAccessor implements World {
+@@ -1170,7 +1170,7 @@ public class CraftWorld extends CraftRegionAccessor implements World {
@Override
public void setDifficulty(Difficulty difficulty) {