Add non null params to the super call on DummyWorld, add try/catch around its construction in case something else goes bad

This commit is contained in:
Thiakil committed 2019-06-08 12:51:16 +08:00
1 parent a30326ba41
commit 55e8980b4a
2 files changed
+72 -3

No files matched your search

@@ -410,7 +410,10 @@ public final class OreDictManager {
return false;
}
};
DummyWorld dummyWorld = new DummyWorld();
DummyWorld dummyWorld = null;
try {
dummyWorld = new DummyWorld();
} catch (Exception ignored){}
InventoryCrafting tempCrafting = new InventoryCrafting(tempContainer, 3, 3);