mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-12 16:27:34 +00:00
second null check
This commit is contained in:
1 parent
cdf3046e61
commit
3ff6e91053
1 file changed
+10
-8
@@ -426,14 +426,16 @@ public class CraftingManager {
|
||||
GameRegistry.addRecipe(
|
||||
new ShapedOreRecipe(new ItemStack(Items.emerald), "xxx", "xxx", "xxx", 'x', "nuggetEmerald"));
|
||||
|
||||
GameRegistry.addRecipe(
|
||||
new ShapedOreRecipe(
|
||||
ItemInterface.getItemStack("apatite"),
|
||||
"xxx",
|
||||
"xxx",
|
||||
"xxx",
|
||||
'x',
|
||||
Config.nuggets.getStackForType(NuggetType.APATITE)));
|
||||
if (ItemInterface.getItemStack("apatite") != null) {
|
||||
GameRegistry.addRecipe(
|
||||
new ShapedOreRecipe(
|
||||
ItemInterface.getItemStack("apatite"),
|
||||
"xxx",
|
||||
"xxx",
|
||||
"xxx",
|
||||
'x',
|
||||
Config.nuggets.getStackForType(NuggetType.APATITE)));
|
||||
}
|
||||
|
||||
output = Config.miscResources.getStackForType(ResourceType.DIMENSIONAL_SINGULARITY);
|
||||
GameRegistry.addRecipe(
|
||||
|
||||
Reference in new issue
Block a user