Fix removeEntity
Dieser Commit ist enthalten in:
Ursprung
495e33b195
Commit
b2122d24e8
@ -137,7 +137,7 @@ public class REntityServer implements Listener {
|
|||||||
void removeEntity(REntity entity) {
|
void removeEntity(REntity entity) {
|
||||||
entity.despawn(packet -> updateEntity(entity, packet));
|
entity.despawn(packet -> updateEntity(entity, packet));
|
||||||
removeEntityFromChunk(entity);
|
removeEntityFromChunk(entity);
|
||||||
entityMap.put(entity.entityId, entity);
|
entityMap.remove(entity.entityId);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addEntityToChunk(REntity entity) {
|
private void addEntityToChunk(REntity entity) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren