Working on client/server madness

This commit is contained in:
StevenRS11
2013-10-15 20:37:27 -04:00
parent 7a36e78769
commit 3e74f60807
4 changed files with 13 additions and 18 deletions

View File

@@ -60,7 +60,8 @@ public class itemRiftRemover extends Item
TileEntity tileEntity = world.getBlockTileEntity(hx, hy, hz);
if (tileEntity != null && tileEntity instanceof TileEntityRift)
{
((TileEntityRift) tileEntity).shouldClose = true;
((TileEntityRift) tileEntity).shouldClose = true;
tileEntity.onInventoryChanged();
}
if (!player.capabilities.isCreativeMode)
{
@@ -76,7 +77,7 @@ public class itemRiftRemover extends Item
@Override
public boolean onItemUseFirst(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ)
{
return false;
return true;
}
/**