Skip to content
Permalink
Browse files

Bad leather racks will no longer cause block updates when they delete…

… themselves.
  • Loading branch information...
Kittychanley committed Oct 28, 2015
1 parent 574b75b commit e97c4db71df7899873aec4865eec467a0a4331ac
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Common/com/bioxx/tfc/Blocks/Devices/BlockLeatherRack.java
@@ -7,6 +7,7 @@
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
@@ -89,7 +90,7 @@ public void onNeighborBlockChange(World world, int i, int j, int k, Block par5)
{
super.onNeighborBlockChange(world, i, j, k, par5);
if(!canBlockStay(world,i,j,k))
world.setBlockToAir(i, j, k);
world.setBlock(i, j, k, Blocks.air, 0, 2);
}

@Override

0 comments on commit e97c4db

Please sign in to comment.
You can’t perform that action at this time.