fix: rename minecart EntityType enum constants

This commit is contained in:
Pierre Maurice Schwang 2024-08-10 21:32:45 +02:00
parent 895cf0da66
commit 99858c3275
No known key found for this signature in database
GPG Key ID: 37E613079F3E5BB9

View File

@ -821,13 +821,13 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
case "ARMOR_STAND": case "ARMOR_STAND":
// Temporarily classify as vehicle // Temporarily classify as vehicle
case "MINECART": 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 "ENDER_CRYSTAL":
case "MINECART_TNT": case "TNT_MINECART":
case "CHEST_BOAT": case "CHEST_BOAT":
case "BOAT": case "BOAT":
if (Settings.Enabled_Components.KILL_ROAD_VEHICLES) { if (Settings.Enabled_Components.KILL_ROAD_VEHICLES) {