From a69cd609b9bad0ac8ff332baa14efe33b1fa69c8 Mon Sep 17 00:00:00 2001 From: Pierre Maurice Schwang Date: Sun, 25 Aug 2024 22:12:25 +0200 Subject: [PATCH] fix: rename minecart EntityType enum constants (#4471) * fix: rename minecart EntityType enum constants * chore: re-add older minecart entity type names --- .../main/java/com/plotsquared/bukkit/BukkitPlatform.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java index faaa67e7d..0ed057e39 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java @@ -822,12 +822,18 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl // Temporarily classify as vehicle case "MINECART": case "MINECART_CHEST": + case "CHEST_MINECART": case "MINECART_COMMAND": + case "COMMAND_BLOCK_MINECART": case "MINECART_FURNACE": + case "FURNACE_MINECART": case "MINECART_HOPPER": + case "HOPPER_MINECART": case "MINECART_MOB_SPAWNER": + case "SPAWNER_MINECART": case "ENDER_CRYSTAL": case "MINECART_TNT": + case "TNT_MINECART": case "CHEST_BOAT": case "BOAT": if (Settings.Enabled_Components.KILL_ROAD_VEHICLES) {