box check only every 10 seconds
This commit is contained in:
@@ -4913,13 +4913,16 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
continue;
|
continue;
|
||||||
if (pc.isBoxed == false) {
|
if (pc.isBoxed == false) {
|
||||||
player.isBoxed = true;
|
player.isBoxed = true;
|
||||||
|
InterestManager.setObjectDirty(player);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
player.isBoxed = false;
|
player.isBoxed = false;
|
||||||
|
InterestManager.setObjectDirty(player);
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
player.isBoxed = false;
|
player.isBoxed = false;
|
||||||
|
InterestManager.setObjectDirty(player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user