mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
wealth command
This commit is contained in:
@@ -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