fix: remove duplicate entity controller definition for POTION in 1.21 (#3153)

This commit is contained in:
ZX夏夜之风 2024-09-29 17:27:14 +08:00 committed by GitHub
parent 97960fcd48
commit 75ee655487
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1047,7 +1047,6 @@ public class NMSImpl implements NMSBridge {
EntityControllers.setEntityControllerForType(EntityType.PLAYER, HumanController.class); EntityControllers.setEntityControllerForType(EntityType.PLAYER, HumanController.class);
EntityControllers.setEntityControllerForType(EntityType.POLAR_BEAR, PolarBearController.class); EntityControllers.setEntityControllerForType(EntityType.POLAR_BEAR, PolarBearController.class);
EntityControllers.setEntityControllerForType(EntityType.POTION, ThrownPotionController.class); EntityControllers.setEntityControllerForType(EntityType.POTION, ThrownPotionController.class);
EntityControllers.setEntityControllerForType(EntityType.POTION, ThrownPotionController.class);
EntityControllers.setEntityControllerForType(EntityType.PUFFERFISH, PufferFishController.class); EntityControllers.setEntityControllerForType(EntityType.PUFFERFISH, PufferFishController.class);
EntityControllers.setEntityControllerForType(EntityType.RABBIT, RabbitController.class); EntityControllers.setEntityControllerForType(EntityType.RABBIT, RabbitController.class);
EntityControllers.setEntityControllerForType(EntityType.RAVAGER, RavagerController.class); EntityControllers.setEntityControllerForType(EntityType.RAVAGER, RavagerController.class);