wealth command
This commit is contained in:
1 parent
76f96756af
commit
5ffd84a305
1 file changed
+7
@@ -86,6 +86,13 @@ public class Commands implements PacketType {
|
||||
}
|
||||
}
|
||||
|
||||
if (playerCommand.equalsIgnoreCase("wealth")) {
|
||||
|
||||
int totalWealth = player.getPlayerAssistant().totalGold();
|
||||
player.getActionSender().sendMessage("You currently have " + totalWealth + "gp.");
|
||||
|
||||
}
|
||||
|
||||
if (playerCommand.contains("clip") && player.playerRights < 2) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user