::rolldrops admin/testing command now clears container between invocations

This commit is contained in:
vddcore 2022-06-23 23:11:10 +00:00 committed by Ryan
parent 5cfe44d5cd
commit 385a04a5b9

View file

@ -122,6 +122,8 @@ class DevelopmentCommandSet : CommandSet(Privilege.ADMIN) {
val npcId = args[1].toInt()
val amount = args[2].toInt()
container.clear()
for(i in 0..amount)
{
val drops = NPCDefinition.forId(npcId).dropTables.table.roll()