Commit Graph

2 Commits

Author SHA1 Message Date
459b71a109 fix: Chunks are now goroutine safe
- added Chunk.ForEachEntity()
- refactored SendPacketExclude() to use it
- Chunk.Entities is now Chunk.entities, which is private.
- Chunk.AddEntity() && RemoveEntity() now lock the chunk mutex
2023-11-21 01:49:57 -06:00
458e907c99 moved 'core' to 'internal' 2023-08-23 18:16:24 -05:00