Fixed disconnected players not being removed

This commit is contained in:
Anuken 2020-08-26 14:55:07 -04:00
parent 5bf7401139
commit 6a7d2303a4

View File

@ -101,7 +101,7 @@ public class EntityGroup<T extends Entityc> implements Iterable<T>{
if(map == null) throw new RuntimeException("Mapping is not enabled for group " + id + "!");
T t = map.get(id);
if(t != null){ //remove if present in map already
remove(t);
t.remove();
}
}