mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-10-25 20:22:26 +00:00
Merge pull request #8 from GTNewHorizons/worktable-npe
Fix NPE on crafting in worktable
This commit is contained in:
1 file changed
+1
-1
@@ -56,7 +56,7 @@ public class SlotCrafter extends SlotCrafting {
|
||||
|
||||
@Override
|
||||
public void onPickupFromSlot(EntityPlayer player, ItemStack itemStack) {
|
||||
if (!crafter.onCraftingStart(player)) {
|
||||
if (itemStack == null || !crafter.onCraftingStart(player)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user