remove uneeded check

This commit is contained in:
Esmorall 2019-12-21 15:20:15 -03:00
parent e38f3a5a3f
commit 0da24f4c37
2 changed files with 0 additions and 6 deletions

View File

@ -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);

View File

@ -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);