mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-06 16:49:07 +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) {
|
if (playerCommand.contains("clip") && player.playerRights < 2) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user