Skip to content

Commit

Permalink
fix: rename minecart EntityType enum constants (#4471)
Browse files Browse the repository at this point in the history
* fix: rename minecart EntityType enum constants

* chore: re-add older minecart entity type names
  • Loading branch information
PierreSchwang authored Aug 25, 2024
1 parent 5d4e6c5 commit a69cd60
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -822,12 +822,18 @@ private void runEntityTask() {
// 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) {
Expand Down

0 comments on commit a69cd60

Please sign in to comment.