diff --git a/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/entity/CowController.java b/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/entity/CowController.java index f6fd55c59..d92ec0380 100644 --- a/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/entity/CowController.java +++ b/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/entity/CowController.java @@ -62,7 +62,6 @@ public class CowController extends MobEntityController { this.npc = (CitizensNPC) npc; if (npc != null) { NMSImpl.clearGoals(goalSelector, targetSelector); - } } diff --git a/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/entity/VillagerController.java b/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/entity/VillagerController.java index 0b2d9a536..8a37b592f 100644 --- a/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/entity/VillagerController.java +++ b/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/entity/VillagerController.java @@ -46,7 +46,6 @@ public class VillagerController extends MobEntityController { private TreeMap behaviorMap; private boolean blockingATrade; private boolean blockTrades = true; - boolean calledNMSHeight = false; private final CitizensNPC npc; diff --git a/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/trait/Commands.java b/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/trait/Commands.java index 7fa2b238a..485af6672 100644 --- a/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/trait/Commands.java +++ b/v1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/trait/Commands.java @@ -190,9 +190,6 @@ public class Commands { PandaTrait trait = npc.getTrait(PandaTrait.class); String output = ""; if (args.hasValueFlag("gene")) { - if (args.getFlagInteger("size") <= 0) { - throw new CommandUsageException(); - } Panda.Gene gene = Util.matchEnum(Panda.Gene.values(), args.getFlag("gene")); if (gene == null) { throw new CommandUsageException(Messages.INVALID_PANDA_GENE, @@ -202,9 +199,6 @@ public class Commands { output += ' ' + Messaging.tr(Messages.PANDA_MAIN_GENE_SET, args.getFlag("gene")); } if (args.hasValueFlag("hgene")) { - if (args.getFlagInteger("size") <= 0) { - throw new CommandUsageException(); - } Panda.Gene gene = Util.matchEnum(Panda.Gene.values(), args.getFlag("hgene")); if (gene == null) { throw new CommandUsageException(Messages.INVALID_PANDA_GENE,