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.nbt.NBTTagCompound;
import net.minecraft.network.NetworkManager;
import net.minecraft.network.Packet;
@@ -78,8 +79,8 @@ public abstract class TileBase extends TileEntity
direction = ForgeDirection.getOrientation(packet.func_148857_g().getInteger("Direction"));
}
public boolean canDropInventory()
public IInventory getDroppedInventory()
{
return true;
return null;
}
}