mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-09-27 14:53:09 +02:00
Fix incorrect controller for item/text display
This commit is contained in:
parent
48a30c56ff
commit
904d83de43
@ -84,8 +84,6 @@ public class ParrotController extends MobEntityController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SoundEvent getAmbientSound() {
|
public SoundEvent getAmbientSound() {
|
||||||
return NMSImpl.getSoundEffect(npc, super.getAmbientSound(), NPC.Metadata.AMBIENT_SOUND);
|
return NMSImpl.getSoundEffect(npc, super.getAmbientSound(), NPC.Metadata.AMBIENT_SOUND);
|
||||||
|
@ -1019,8 +1019,8 @@ public class NMSImpl implements NMSBridge {
|
|||||||
EntityControllers.setEntityControllerForType(EntityType.ZOMBIE_VILLAGER, ZombieVillagerController.class);
|
EntityControllers.setEntityControllerForType(EntityType.ZOMBIE_VILLAGER, ZombieVillagerController.class);
|
||||||
EntityControllers.setEntityControllerForType(EntityType.SNIFFER, SnifferController.class);
|
EntityControllers.setEntityControllerForType(EntityType.SNIFFER, SnifferController.class);
|
||||||
EntityControllers.setEntityControllerForType(EntityType.BLOCK_DISPLAY, BlockDisplayController.class);
|
EntityControllers.setEntityControllerForType(EntityType.BLOCK_DISPLAY, BlockDisplayController.class);
|
||||||
EntityControllers.setEntityControllerForType(EntityType.ITEM_DISPLAY, TextDisplayController.class);
|
EntityControllers.setEntityControllerForType(EntityType.TEXT_DISPLAY, TextDisplayController.class);
|
||||||
EntityControllers.setEntityControllerForType(EntityType.TEXT_DISPLAY, ItemDisplayController.class);
|
EntityControllers.setEntityControllerForType(EntityType.ITEM_DISPLAY, ItemDisplayController.class);
|
||||||
EntityControllers.setEntityControllerForType(EntityType.INTERACTION, InteractionController.class);
|
EntityControllers.setEntityControllerForType(EntityType.INTERACTION, InteractionController.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user