Fixed Atomic Disassembler issue
This commit is contained in:
parent
b2e676aabb
commit
7e378dd796
1 changed files with 5 additions and 0 deletions
|
@ -97,6 +97,11 @@ public class ItemAtomicDisassembler extends ItemEnergized
|
||||||
{
|
{
|
||||||
Block block = player.worldObj.getBlock(x, y, z);
|
Block block = player.worldObj.getBlock(x, y, z);
|
||||||
int meta = player.worldObj.getBlockMetadata(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);
|
ItemStack stack = new ItemStack(block, 1, meta);
|
||||||
Coord4D orig = new Coord4D(x, y, z, player.worldObj.provider.dimensionId);
|
Coord4D orig = new Coord4D(x, y, z, player.worldObj.provider.dimensionId);
|
||||||
|
|
Loading…
Reference in a new issue