mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-14 10:20:05 +00:00
Temporarily disable spawn check for mob pathing
This commit is contained in:
parent
0c05fc4add
commit
b2a8b86e4c
@ -350,11 +350,13 @@ static void loadPaths(json& pathData, int32_t* nextId) {
|
||||
std::cout << "[INFO] Using static path for mob " << mob->appearanceData.iNPCType << " with ID " << pair.first << std::endl;
|
||||
|
||||
auto firstPoint = npcPath.value()["points"][0];
|
||||
/*
|
||||
if (firstPoint["iX"] != mob->spawnX || firstPoint["iY"] != mob->spawnY) {
|
||||
std::cout << "[FATAL] The first point of the route for mob " << pair.first <<
|
||||
" (type " << mob->appearanceData.iNPCType << ") does not correspond with its spawn point." << std::endl;
|
||||
exit(1);
|
||||
}
|
||||
*/
|
||||
|
||||
constructPathNPC(*npcPath, pair.first);
|
||||
mob->staticPath = true;
|
||||
|
Loading…
Reference in New Issue
Block a user