🚑 remove static entity spawn

This commit is contained in:
2023-08-01 22:21:21 +03:00
parent fb58dedfaf
commit 08e931d1bd
@@ -111,8 +111,6 @@ internal class SnapshotHandler : Handler
var hasAuthority = _playerCache.Local.Id == player.Id;
var entity = _entityCache.TryGetEntity(0, entityType, staticId, entityId, hasAuthority, out _);
_entityListener.OnEntityCreated(entity);
entity.Read(buffer);
entity.Attach(_client, entityId, entityType, hasAuthority, player);
}