remove uneeded check
This commit is contained in:
parent
e38f3a5a3f
commit
0da24f4c37
|
@ -73,9 +73,6 @@ public class EntityTickManager extends BukkitRunnable {
|
|||
if(!entity.valid) {
|
||||
continue;
|
||||
}
|
||||
if(ws.entitiesById.containsValue(entity)) {
|
||||
continue;
|
||||
}
|
||||
if(ws.entitiesById.containsKey(i)) {
|
||||
int id = ((AtomicInteger)entityCount.get(null)).incrementAndGet();
|
||||
ws.entitiesById.put(id, entity);
|
||||
|
|
|
@ -73,9 +73,6 @@ public class EntityTickManager extends BukkitRunnable {
|
|||
if(!entity.valid) {
|
||||
continue;
|
||||
}
|
||||
if(ws.entitiesById.containsValue(entity)) {
|
||||
continue;
|
||||
}
|
||||
if(ws.entitiesById.containsKey(i)) {
|
||||
int id = ((AtomicInteger)entityCount.get(null)).incrementAndGet();
|
||||
ws.entitiesById.put(id, entity);
|
||||
|
|
Loading…
Reference in New Issue