mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-20 21:54:23 +00:00
default weights to 1
This commit is contained in:
@@ -137,6 +137,7 @@ void Zone::LoadZoneIntoMemory() {
|
||||
node->weight = GeneralUtils::TryParse(data->GetValueAsString(), 1);
|
||||
if (node->weight <= 0) {
|
||||
LOG("Found a spawner with a weight of <= 0, is this intentional? %s:%i", info.name.c_str(), node->nodeID);
|
||||
node->weight = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user