Buffet mode fixes

This commit is contained in:
cyberpwn
2021-08-26 03:08:21 -04:00
parent fe78d4f1e7
commit e06175f600
9 changed files with 236 additions and 6 deletions

View File

@@ -177,12 +177,21 @@ public class IrisEngine implements Engine {
@Override
public void hotload() {
hotloadSilently();
Iris.callEvent(new IrisEngineHotloadEvent(this));
}
public void hotloadComplex() {
complex.close();
complex = new IrisComplex(this);
}
public void hotloadSilently() {
getData().dump();
getData().clearLists();
getTarget().setDimension(getData().getDimensionLoader().load(getDimension().getLoadKey()));
prehotload();
setupEngine();
Iris.callEvent(new IrisEngineHotloadEvent(this));
}
@Override