mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-17 19:15:24 +00:00
Fix JEI integration crash
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user