forked from 2009Scape/Server
FunCommands
This commit is contained in:
parent
2e66cf9d50
commit
3e01ff3715
1 changed files with 2 additions and 0 deletions
|
|
@ -156,9 +156,11 @@ class FunCommandSet : CommandSet(Command.Privilege.ADMIN) {
|
|||
ContentAPI.addItemOrDrop(p, item.id, item.amount)
|
||||
ContentAPI.sendMessage(p, "You dig and find ${if(item.amount > 1) "some" else "a"} ${item.name}")
|
||||
}
|
||||
ContentAPI.sendNews("${player.username} has found the hidden treasure! Congratulations!!!")
|
||||
SpadeDigListener.listeners.remove(loc)
|
||||
}
|
||||
player.inventory.clear()
|
||||
notify(player, "You have buried your loot at ${loc.toString()}")
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue