Skip to content

Commit

Permalink
#1497: Move boat field rename entries to below key renaming, so that …
Browse files Browse the repository at this point in the history
…keys are also renamed
  • Loading branch information
DerFrZocker authored and md-5 committed Oct 26, 2024
1 parent abfe292 commit 92d6ab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/bukkit/craftbukkit/legacy/FieldRename.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ public static Biome valueOf_Biome(String name) {
.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")
Expand All @@ -191,6 +189,8 @@ public static Biome valueOf_Biome(String name) {
.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<NamespacedKey, ApiVersion, NamespacedKey> ENTITY_TYPE_RENAME = ENTITY_TYPE_DATA::getReplacement;
Expand Down

0 comments on commit 92d6ab6

Please sign in to comment.