mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
Fixed an oopsie
This commit is contained in:
parent
00add4f1a8
commit
644d73e480
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ public class EntityManager {
|
|||
|
||||
for(Npc npc : npcs.values()) {
|
||||
if(npc.isDead() || !zone.isChunkLoaded((int)npc.getX(), (int)npc.getY()) ||
|
||||
(!npc.isTransient() && System.currentTimeMillis() > npc.getLastTrackedAt() + ENTITY_CLEAR_TIME)) {
|
||||
(npc.isTransient() && System.currentTimeMillis() > npc.getLastTrackedAt() + ENTITY_CLEAR_TIME)) {
|
||||
clearableEntities.add(npc);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue