mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-11-17 15:30:06 +00:00
added basework for instancing
This commit is contained in:
@@ -457,7 +457,7 @@ void MobManager::step(CNServer *serv, time_t currTime) {
|
||||
int y = pair.second->appearanceData.iY;
|
||||
|
||||
// skip chunks without players
|
||||
if (!ChunkManager::inPopulatedChunks(x, y))
|
||||
if (!ChunkManager::inPopulatedChunks(x, y, pair.second->instanceID))
|
||||
continue;
|
||||
|
||||
// skip mob movement and combat if disabled
|
||||
|
||||
Reference in New Issue
Block a user