mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-11 16:36:58 -04:00
fix world entities not properly removing entites
This commit is contained in:
parent
1d8dacc37e
commit
cdaa65dfec
@ -116,8 +116,8 @@ class WorldEntities : Iterable<Entity> {
|
||||
idEntityMap.put(entityId, entity)
|
||||
lock.unlock()
|
||||
return
|
||||
|
||||
}
|
||||
entities -= entity
|
||||
entityIdMap.removeInt(entity)
|
||||
val uuid = entityUUIDMap.remove(entity)
|
||||
if (uuid != null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user