fix: rename minecart EntityType enum constants (#4471)

* fix: rename minecart EntityType enum constants

* chore: re-add older minecart entity type names
This commit is contained in:
Pierre Maurice Schwang 2024-08-25 22:12:25 +02:00 committed by GitHub
parent 5d4e6c5819
commit a69cd609b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {