Merge pull request #995 from CocoTheOwner/printWrongSpawner

Better print information about wrong spawner on marker
This commit is contained in:
Brian Fopiano
2023-06-11 14:00:09 -04:00
committed by GitHub
@@ -597,6 +597,10 @@ public class IrisWorldManager extends EngineAssignedWorldManager {
for (String i : mark.getSpawners()) { for (String i : mark.getSpawners()) {
IrisSpawner m = getData().getSpawnerLoader().load(i); IrisSpawner m = getData().getSpawnerLoader().load(i);
if (m == null) {
Iris.error("Cannot load spawner: " + i + " for marker on " + getName());
continue;
}
m.setReferenceMarker(mark); m.setReferenceMarker(mark);
// This is so fucking incorrect its a joke // This is so fucking incorrect its a joke