mirror of
https://github.com/Elecast2/EntityTrackerFixer.git
synced 2024-11-25 19:35:13 +01:00
Check if entity is valid before ticking again
This commit is contained in:
parent
3c19156df5
commit
7e31f4bab2
@ -70,6 +70,9 @@ public class EntityTickManager extends BukkitRunnable {
|
||||
if(entity == null) {
|
||||
continue;
|
||||
}
|
||||
if(!entity.valid) {
|
||||
continue;
|
||||
}
|
||||
if(ws.entitiesById.containsValue(entity)) {
|
||||
continue;
|
||||
}
|
||||
|
@ -70,6 +70,9 @@ public class EntityTickManager extends BukkitRunnable {
|
||||
if(entity == null) {
|
||||
continue;
|
||||
}
|
||||
if(!entity.valid) {
|
||||
continue;
|
||||
}
|
||||
if(ws.entitiesById.containsValue(entity)) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user