Merge pull request #104 from psxlover/AssemblyTableNPE

NPE on assembly table.
This commit is contained in:
SirSengir 2012-07-15 10:56:31 -07:00
commit 40a5536edf

View file

@ -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)) {