diff --git a/src/main/java/net/nuggetmc/ai/commands/commands/PlayerAICommand.java b/src/main/java/net/nuggetmc/ai/commands/commands/PlayerAICommand.java index 9da983f..eeb2176 100644 --- a/src/main/java/net/nuggetmc/ai/commands/commands/PlayerAICommand.java +++ b/src/main/java/net/nuggetmc/ai/commands/commands/PlayerAICommand.java @@ -44,13 +44,13 @@ public class PlayerAICommand extends CommandInstance { @Command(name = "debug", desc = "Debug bot stats.") @Require("playerai.manage") public void debugCommand(@Sender Player sender) { - + // This will be used for miscellaneous code for testing as the plugin is worked on } @Command(name = "info", desc = "Information about loaded bots.") @Require("playerai.manage") public void infoCommand(@Sender Player sender) { - + // This will be the future GUI where players can view information about every loaded bot } @Command(name = "reset", desc = "Remove all loaded bots.") diff --git a/src/main/java/net/nuggetmc/ai/npc/NPC.java b/src/main/java/net/nuggetmc/ai/npc/NPC.java index 03ee54b..013c557 100644 --- a/src/main/java/net/nuggetmc/ai/npc/NPC.java +++ b/src/main/java/net/nuggetmc/ai/npc/NPC.java @@ -268,7 +268,6 @@ public class NPC extends EntityPlayer { PlayerConnection connection = ((CraftPlayer) player).getHandle().playerConnection; connection.sendPacket(new PacketPlayOutEntityHeadRotation(playerNPC.getHandle(), (byte) (facing.getYaw() * 256 / 360))); } - } catch (IllegalArgumentException ignored) { } }