mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-18 14:50:57 +00:00
Merge pull request #995 from CocoTheOwner/printWrongSpawner
Better print information about wrong spawner on marker
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user