improve dropped inventory
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user