diff options
author | Jake Potrebic <[email protected]> | 2024-04-28 17:25:21 -0700 |
---|---|---|
committer | Jake Potrebic <[email protected]> | 2024-04-28 17:25:21 -0700 |
commit | f9397e108e02ae558493d7bb63b0264af2cc7693 (patch) | |
tree | 8a139c57662e890896e51e907033a3f38ed862f5 | |
parent | 69a971a35ca732ced862d91621f1682344618784 (diff) | |
download | Paper-f9397e108e02ae558493d7bb63b0264af2cc7693.tar.gz Paper-f9397e108e02ae558493d7bb63b0264af2cc7693.zip |
Fix incorrect Commodore mapping of sweeping enchant
-rw-r--r-- | patches/server/0008-CB-fixes.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/server/0008-CB-fixes.patch b/patches/server/0008-CB-fixes.patch index e93ee80f17..f2dc166cda 100644 --- a/patches/server/0008-CB-fixes.patch +++ b/patches/server/0008-CB-fixes.patch @@ -110,6 +110,19 @@ index 6b34a8d33faa49ffa9082995e67af10d3cb38c03..f0c817e27a602740bc979b2ebaec3917 return this.mapId; } +diff --git a/src/main/java/org/bukkit/craftbukkit/legacy/FieldRename.java b/src/main/java/org/bukkit/craftbukkit/legacy/FieldRename.java +index 658f3962543a36bc8c16f306ccb3e254b5b3d0a8..9e1896199d10be606a6c6304d849c7c9eb3c9fa1 100644 +--- a/src/main/java/org/bukkit/craftbukkit/legacy/FieldRename.java ++++ b/src/main/java/org/bukkit/craftbukkit/legacy/FieldRename.java +@@ -82,7 +82,7 @@ public class FieldRename { + .change("DAMAGE_UNDEAD", "SMITE") + .change("DAMAGE_ARTHROPODS", "BANE_OF_ARTHROPODS") + .change("LOOT_BONUS_MOBS", "LOOTING") +- .change("SWEEPING_EDGE", "SWEEPING") ++ // .change("SWEEPING_EDGE", "SWEEPING") // Paper - this change is incorrect, sweeping edge is the correct name + .change("DIG_SPEED", "EFFICIENCY") + .change("DURABILITY", "UNBREAKING") + .change("LOOT_BONUS_BLOCKS", "FORTUNE") diff --git a/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java b/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java index 905adf97c0d1f0d1c774a6835a5dffcfea884e58..c017ce2ca1bc535795c958a2e509af2adf88efa9 100644 --- a/src/main/java/org/bukkit/craftbukkit/scheduler/CraftScheduler.java |