Made the inverse setting not reset each time you break/place the Digital Miner
This commit is contained in:
parent
ef5737f546
commit
49cb1fcfff
2 changed files with 2 additions and 0 deletions
|
@ -920,6 +920,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds
|
|||
itemStack.stackTagCompound.setBoolean("doEject", miner.doEject);
|
||||
itemStack.stackTagCompound.setBoolean("doPull", miner.doPull);
|
||||
itemStack.stackTagCompound.setBoolean("silkTouch", miner.silkTouch);
|
||||
itemStack.stackTagCompound.setBoolean("inverse", miner.inverse);
|
||||
|
||||
if(miner.replaceStack != null)
|
||||
{
|
||||
|
|
|
@ -226,6 +226,7 @@ public class ItemBlockMachine extends ItemBlock implements IEnergizedItem, ISpec
|
|||
miner.maxY = stack.stackTagCompound.getInteger("maxY");
|
||||
miner.doEject = stack.stackTagCompound.getBoolean("doEject");
|
||||
miner.doPull = stack.stackTagCompound.getBoolean("doPull");
|
||||
miner.inverse = stack.stackTagCompound.getBoolean("inverse");
|
||||
miner.silkTouch = stack.stackTagCompound.getBoolean("silkTouch");
|
||||
|
||||
if(stack.stackTagCompound.hasKey("replaceStack"))
|
||||
|
|
Loading…
Reference in a new issue