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
|
@ -134,6 +134,9 @@ public class GuiAssemblyTable extends GuiAdvancedInterface {
|
|||
if (position != -1) {
|
||||
RecipeSlot slot = (RecipeSlot) slots[position];
|
||||
|
||||
if (slot.recipe == null)
|
||||
return;
|
||||
|
||||
SelectionMessage message = new SelectionMessage();
|
||||
|
||||
if (assemblyTable.isPlanned(slot.recipe)) {
|
||||
|
|
Loading…
Reference in a new issue