mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 16:49:04 +00:00
Fixed bank bug, classes not compiled properly
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user