print in case a wrong spawner is specified

This commit is contained in:
Sjoerd van de Goor 2023-06-06 19:18:47 +02:00
parent 12a6d022cf
commit 989778af26

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