Fixed Atomic Disassembler issue

This commit is contained in:
Aidan Brady 2014-07-31 18:57:18 -04:00
parent b2e676aabb
commit 7e378dd796

View file

@ -97,6 +97,11 @@ public class ItemAtomicDisassembler extends ItemEnergized
{
Block block = player.worldObj.getBlock(x, y, z);
int meta = player.worldObj.getBlockMetadata(x, y, z);
if(block == Blocks.lit_redstone_ore)
{
block = Blocks.redstone_ore;
}
ItemStack stack = new ItemStack(block, 1, meta);
Coord4D orig = new Coord4D(x, y, z, player.worldObj.provider.dimensionId);