This commit is contained in:
batchprogrammer314
2021-06-27 00:09:06 -05:00
parent 71cb5dd4a9
commit 19abd19a9d
2 changed files with 2 additions and 3 deletions

View File

@@ -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.")

View File

@@ -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) { }
}