mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 14:21:33 +00:00
Made the creator not error without a sender.
This commit is contained in:
@@ -105,6 +105,9 @@ public class IrisCreator {
|
|||||||
throw new IrisException("Dimension cannot be found null for id " + dimension());
|
throw new IrisException("Dimension cannot be found null for id " + dimension());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(sender == null)
|
||||||
|
sender = Iris.getSender();
|
||||||
|
|
||||||
if(!studio()) {
|
if(!studio()) {
|
||||||
Iris.service(StudioSVC.class).installIntoWorld(sender, d.getLoadKey(), new File(name()));
|
Iris.service(StudioSVC.class).installIntoWorld(sender, d.getLoadKey(), new File(name()));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user