From 762b4f15ca3c49e55b8cac1c9d5abe843c3c4a1f Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 27 Oct 2024 07:27:35 +1100 Subject: [PATCH] #1497: Move boat field rename entries to below key renaming, so that keys are also renamed By: DerFrZocker --- .../main/java/org/bukkit/craftbukkit/legacy/FieldRename.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/legacy/FieldRename.java b/paper-server/src/main/java/org/bukkit/craftbukkit/legacy/FieldRename.java index f52f1f3368..d33111f0ed 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/legacy/FieldRename.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/legacy/FieldRename.java @@ -175,8 +175,6 @@ public class FieldRename { .change("SNOWMAN", "SNOW_GOLEM") .change("FISHING_HOOK", "FISHING_BOBBER") .change("LIGHTNING", "LIGHTNING_BOLT") - .change("BOAT", "OAK_BOAT") - .change("CHEST_BOAT", "OAK_CHEST_BOAT") .withKeyRename() .change("XP_ORB", "EXPERIENCE_ORB") .change("EYE_OF_ENDER_SIGNAL", "EYE_OF_ENDER") @@ -191,6 +189,8 @@ public class FieldRename { .change("VILLAGER_GOLEM", "IRON_GOLEM") .change("ENDER_CRYSTAL", "END_CRYSTAL") .change("ZOMBIE_PIGMAN", "ZOMBIFIED_PIGLIN") + .change("BOAT", "OAK_BOAT") + .change("CHEST_BOAT", "OAK_CHEST_BOAT") .build(); public static final BiFunction ENTITY_TYPE_RENAME = ENTITY_TYPE_DATA::getReplacement;