From 9c0aa4ac55b545b4845a88514fe2b5ffc2eecf8d Mon Sep 17 00:00:00 2001 From: Kermit Frog Date: Sun, 11 Jul 2021 04:52:13 +0000 Subject: [PATCH] FunCommands --- .../main/kotlin/rs09/game/system/command/sets/FunCommandSet.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Server/src/main/kotlin/rs09/game/system/command/sets/FunCommandSet.kt b/Server/src/main/kotlin/rs09/game/system/command/sets/FunCommandSet.kt index c6e6cf2bf..b3e77796a 100644 --- a/Server/src/main/kotlin/rs09/game/system/command/sets/FunCommandSet.kt +++ b/Server/src/main/kotlin/rs09/game/system/command/sets/FunCommandSet.kt @@ -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()}") } + }