box check only every 10 seconds
This commit is contained in:
1 parent
27550293d6
commit
45048b2b4e
1 file changed
+3
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user