improve dropped inventory

This commit is contained in:
Raoul Van den Berge
2015-12-24 15:27:05 +01:00
parent 9e412bac64
commit 35bacfc90b
9 changed files with 30 additions and 23 deletions

View File

@@ -1,6 +1,7 @@
package storagecraft.tile;
import cpw.mods.fml.common.network.NetworkRegistry.TargetPoint;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
@@ -100,4 +101,10 @@ public class TileGrid extends TileMachine
InventoryUtils.saveInventory(craftingMatrix, nbt);
}
@Override
public IInventory getDroppedInventory()
{
return craftingMatrix;
}
}