Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-16 04:50:08 +01:00
Make EntityTrackerBase#clearEntities call removeEntity for all entries (#4142)
Dieser Commit ist enthalten in:
Ursprung
ebc0e61be8
Commit
e0ce8cc715
@ -95,7 +95,10 @@ public class EntityTrackerBase implements EntityTracker, ClientEntityIdChangeLis
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void clearEntities() {
|
public void clearEntities() {
|
||||||
entities.clear();
|
// Call wrapper function in case protocols need to do additional removals
|
||||||
|
for (final int id : entities.keySet().toIntArray()) {
|
||||||
|
removeEntity(id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren