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)
|
if (node.id != nodeId)
|
||||||
return sendClearMinimap(player)
|
return sendClearMinimap(player)
|
||||||
|
|
||||||
|
if (player.locks.isInteractionLocked() || player.locks.isMovementLocked())
|
||||||
|
return sendClearMinimap(player)
|
||||||
|
|
||||||
player.scripts.reset()
|
player.scripts.reset()
|
||||||
if (player.zoneMonitor.useWith(item, node))
|
if (player.zoneMonitor.useWith(item, node))
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user