forked from 2009Scape/Server
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:
parent
df5b260f5f
commit
37fe071041
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue