operating enchanted jewellry now cancels any running pulses in the player's pulsemanager
This commit is contained in:
@@ -25,6 +25,7 @@ class EnchantedJewelleryListener : InteractionListener() {
|
||||
override fun defineListeners() {
|
||||
|
||||
on(IDs,ITEM,"rub","operate"){player,node ->
|
||||
player.pulseManager.current.stop()
|
||||
val item = node.asItem()
|
||||
val jewellery = EnchantedJewellery.forItem(item)
|
||||
if (jewellery.isLast(jewellery.getItemIndex(item))) {
|
||||
|
||||
Reference in New Issue
Block a user