* @param coordinate - The coordinate to empty
* @return True if successful
*/
public boolean emptyContainer(Coordinate coordinate) {
try {
IInventory i = (IInventory)world.getBlockTileEntity(coordinate.getBlockX(), coordinate.getBlockY(), coordinate.getBlockZ());
for (int j = 0; j < i.getSizeInventory(); j++) {
i.setInventorySlotContents(j, null);
}
} catch (Exception e) {
return false;
}
return true;