My development cryptic (#61)

* i dont even know what i changed

* Delete Hatchet.java

* Delete Tree.java

* Delete WoodcuttingEvent.java

* wealth command

* sell all option

* haha
This commit is contained in:
DPSCryptic
2019-10-18 17:18:56 +02:00
committed by Daniel Ginovker
parent 0e969c1a08
commit b788d13c31
8 changed files with 36 additions and 26 deletions
@@ -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;
}