From 093533b0ea3050298f92ead57c920cf0d0a46d48 Mon Sep 17 00:00:00 2001 From: fullwall Date: Tue, 20 Jun 2017 17:20:32 +0800 Subject: [PATCH] Add parrot trait properly --- .../main/java/net/citizensnpcs/nms/v1_12_R1/util/NMSImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/util/NMSImpl.java b/v1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/util/NMSImpl.java index e8517a41a..b80852c7f 100644 --- a/v1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/util/NMSImpl.java +++ b/v1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/util/NMSImpl.java @@ -154,6 +154,7 @@ import net.citizensnpcs.nms.v1_12_R1.entity.nonliving.WitherSkullController; import net.citizensnpcs.nms.v1_12_R1.network.EmptyChannel; import net.citizensnpcs.nms.v1_12_R1.trait.Commands; import net.citizensnpcs.nms.v1_12_R1.trait.LlamaTrait; +import net.citizensnpcs.nms.v1_12_R1.trait.ParrotTrait; import net.citizensnpcs.npc.EntityControllers; import net.citizensnpcs.npc.ai.MCNavigationStrategy.MCNavigator; import net.citizensnpcs.npc.ai.MCTargetStrategy.TargetNavigator; @@ -566,6 +567,7 @@ public class NMSImpl implements NMSBridge { @Override public void load(CommandManager manager) { CitizensAPI.getTraitFactory().registerTrait(TraitInfo.create(LlamaTrait.class)); + CitizensAPI.getTraitFactory().registerTrait(TraitInfo.create(ParrotTrait.class)); manager.register(Commands.class); }