mirror of
https://github.com/Elecast2/EntityTrackerFixer.git
synced 2024-11-25 19:35:13 +01:00
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
Block a user