Merge pull request #104 from psxlover/AssemblyTableNPE
NPE on assembly table.
This commit is contained in:
commit
40a5536edf
1 changed files with 3 additions and 0 deletions
|
@ -133,6 +133,9 @@ public class GuiAssemblyTable extends GuiAdvancedInterface {
|
|||
|
||||
if (position != -1) {
|
||||
RecipeSlot slot = (RecipeSlot) slots[position];
|
||||
|
||||
if (slot.recipe == null)
|
||||
return;
|
||||
|
||||
SelectionMessage message = new SelectionMessage();
|
||||
|
||||
|
|
Loading…
Reference in a new issue