mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-20 21:40:27 -07:00
Add seperate credits command
This commit is contained in:
parent
182754f7ff
commit
12f598768a
1 changed files with 5 additions and 1 deletions
|
|
@ -57,9 +57,13 @@ public final class PlayerCommandPlugin extends CommandPlugin {
|
|||
*/
|
||||
|
||||
case "shop":
|
||||
case "credits":
|
||||
CREDIT_STORE.open(player);
|
||||
break;
|
||||
|
||||
case "credits":
|
||||
int credits = CREDIT_STORE.getPoints(player);
|
||||
player.sendMessage("<col=CC0000>You currently have " + credits + " credits to spend.");
|
||||
break;
|
||||
|
||||
case "bankresettabs":
|
||||
for (int i = 0; i < player.getBank().getTabStartSlot().length; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue