Update TricksterKit.kt
This commit is contained in:
@@ -339,10 +339,12 @@ class TricksterKit : Kit(), Listener
|
|||||||
equipment.set( EquipmentSlot.LEGGINGS, player.inventory.leggings ?: ItemStack( Material.AIR ) )
|
equipment.set( EquipmentSlot.LEGGINGS, player.inventory.leggings ?: ItemStack( Material.AIR ) )
|
||||||
equipment.set( EquipmentSlot.BOOTS, player.inventory.boots ?: ItemStack( Material.AIR ) )
|
equipment.set( EquipmentSlot.BOOTS, player.inventory.boots ?: ItemStack( Material.AIR ) )
|
||||||
|
|
||||||
npc.spawn( location )
|
|
||||||
|
|
||||||
npc.data().set( NPC.Metadata.REMOVE_FROM_TABLIST, true )
|
npc.data().set( NPC.Metadata.REMOVE_FROM_TABLIST, true )
|
||||||
|
|
||||||
|
Bukkit.getScheduler().runTaskLater( plugin, { ->
|
||||||
|
npc.spawn( location )
|
||||||
|
}, 1L )
|
||||||
|
|
||||||
val now = System.currentTimeMillis()
|
val now = System.currentTimeMillis()
|
||||||
val tricksterUUID = player.uniqueId
|
val tricksterUUID = player.uniqueId
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user