Browse Source

box check only every 10 seconds

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
45048b2b4e
  1. 3
      src/engine/objects/PlayerCharacter.java

3
src/engine/objects/PlayerCharacter.java

@ -4913,13 +4913,16 @@ public class PlayerCharacter extends AbstractCharacter { @@ -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);
}
}

Loading…
Cancel
Save