mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-04 00:46:08 +00:00
print in case a wrong spawner is specified
This commit is contained in:
parent
12a6d022cf
commit
989778af26
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user