From 45048b2b4e0b3a994d2ac190abc59e9c070aef83 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 18 May 2024 00:08:58 -0500 Subject: [PATCH] box check only every 10 seconds --- src/engine/objects/PlayerCharacter.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 927ad0c5..db45630b 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -4913,13 +4913,16 @@ public class PlayerCharacter extends AbstractCharacter { continue; if (pc.isBoxed == false) { player.isBoxed = true; + InterestManager.setObjectDirty(player); return; } } player.isBoxed = false; + InterestManager.setObjectDirty(player); }catch(Exception e){ player.isBoxed = false; + InterestManager.setObjectDirty(player); } }