OSDN Git Service

素材製作台(減算処理・NBT処理抜き)を製作
[chemicraft/chemicraft.git] / common / chemicraft / tileentity / TileEntityChemicalCraftingTable.java
index 983205e..3f80541 100644 (file)
@@ -54,9 +54,9 @@ public class TileEntityChemicalCraftingTable extends TileEntity {
                        NBTTagCompound var4 = (NBTTagCompound)var6.tagAt(var7);
                        int var5 = var4.getByte("Slot2") & 255;
 
-                       if (var5 >= 0 && var5 < this.chemicalCraftingInvMaterial.getSizeInventory())
+                       if (var5 >= 0 && var5 < this.chemicalCraftingInvResult.getSizeInventory())
                        {
-                               this.chemicalCraftingInvMaterial.setInventorySlotContents(var5, ItemStack.loadItemStackFromNBT(var4));
+                               this.chemicalCraftingInvResult.setInventorySlotContents(var5, ItemStack.loadItemStackFromNBT(var4));
                        }
                }