Add kit inventory
This commit is contained in:
@@ -18,12 +18,14 @@ class KitsCommand(
|
||||
label: String,
|
||||
args: Array<out String>
|
||||
): Boolean {
|
||||
if (sender !is Player) {
|
||||
if ( sender !is Player )
|
||||
{
|
||||
sender.sendMessage("§cOnly players can use this command.")
|
||||
return true
|
||||
}
|
||||
|
||||
kitInventoryManager.openKitInventory(sender, 1)
|
||||
kitInventoryManager.openKitInventory( sender, 1 )
|
||||
return true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user