From f9397e108e02ae558493d7bb63b0264af2cc7693 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Sun, 28 Apr 2024 17:25:21 -0700 Subject: [PATCH] Fix incorrect Commodore mapping of sweeping enchant --- patches/server/0008-CB-fixes.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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