mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
Made the inverse setting not reset each time you break/place the Digital Miner
This commit is contained in:
1 parent
ef5737f546
commit
49cb1fcfff
2 files changed
+2
No files matched your search
@@ -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"))
|
||||
|
||||
Reference in new issue
Block a user