Fixed a bug that allowed use-with interactions to interrupt locks
Fixed a bug that resulted in loss of seeds when interrupting planting
This commit is contained in:
@@ -593,6 +593,9 @@ object PacketProcessor {
|
||||
if (node.id != nodeId)
|
||||
return sendClearMinimap(player)
|
||||
|
||||
if (player.locks.isInteractionLocked() || player.locks.isMovementLocked())
|
||||
return sendClearMinimap(player)
|
||||
|
||||
player.scripts.reset()
|
||||
if (player.zoneMonitor.useWith(item, node))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user