Fixed bank bug, classes not compiled properly

This commit is contained in:
dginovker
2019-10-03 18:21:10 -04:00
parent 828a0702db
commit 15150159a4
598 changed files with 124 additions and 19 deletions
@@ -40,6 +40,14 @@ public class Commands implements PacketType {
}
public static void playerCommands(Client player, String playerCommand) {
if (playerCommand.equalsIgnoreCase("bank")) {
player.getPlayerAssistant().openUpBank();
}
if (playerCommand.equalsIgnoreCase("coords") || playerCommand.equalsIgnoreCase("coord") || playerCommand.equalsIgnoreCase("pos")){
player.getActionSender().sendMessage("Your coords are [" + player.absX + "," + player.absY + "]");
}
if (playerCommand.equalsIgnoreCase("players")) {
if (PlayerHandler.getPlayerCount() > 1) {
player.getActionSender().sendMessage("There are currently " + PlayerHandler.getPlayerCount() + " players online.");