mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-21 20:42:12 +00:00
-Fixed small crash
This commit is contained in:
1 parent
0dac2eeee9
commit
760f8014b0
1 file changed
+3
@@ -93,6 +93,9 @@ public class InfusionVisualDisguiseArmor extends InfusionRecipe {
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public ItemStack getRecipeInput() {
|
||||
if(Minecraft.getMinecraft().thePlayer == null) {
|
||||
return new ItemStack(Items.cookie);
|
||||
}
|
||||
return armorItems[getRecipeInput(new Random(System.currentTimeMillis() / 1000))];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user