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
commit 9ba4dd4099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -597,6 +597,10 @@ public class IrisWorldManager extends EngineAssignedWorldManager {
for (String i : mark.getSpawners()) {
IrisSpawner m = getData().getSpawnerLoader().load(i);
if (m == null) {
Iris.error("Cannot load spawner: " + i + " for marker on " + getName());
continue;
}
m.setReferenceMarker(mark);
// This is so fucking incorrect its a joke