Fix JEI integration crash

This commit is contained in:
mezz committed 2017-02-09 21:58:45 -08:00
1 parent 4936316ef3
commit 93419395c3
2 files changed
+3 -3

No files matched your search

@@ -39,7 +39,7 @@ public class FakeCraftingWorld extends World {
private FakeCraftingWorld() {
super(saveHandler, worldInfo, worldProvider, new Profiler(), true);
this.provider.setWorld(this);
this.mapStorage = new FakeMapStorage(saveHandler);
this.mapStorage = new FakeMapStorage();
}
@Override
@@ -7,8 +7,8 @@ import net.minecraft.world.storage.MapStorage;
import javax.annotation.Nullable;
public class FakeMapStorage extends MapStorage {
public FakeMapStorage(ISaveHandler fakeSaveHandler) {
super(fakeSaveHandler);
public FakeMapStorage() {
super(null);
}
@Override