Fix a few nutderps on block updates
Incorrect assumptions + adopting very early = mistakes were made
This commit is contained in:
parent
26f7c874ff
commit
1bcc4e47e0
7 changed files with 18 additions and 11 deletions
|
@ -67,7 +67,7 @@ public class ItemPackSacrifice extends ItemArmor implements IAltarManipulator, I
|
|||
int filledAmount = altar.fillMainTank(amount);
|
||||
amount -= filledAmount;
|
||||
setStoredLP(stack, amount);
|
||||
world.setBlockState(position.getBlockPos(), world.getBlockState(position.getBlockPos()));
|
||||
world.notifyBlockUpdate(position.getBlockPos(), world.getBlockState(position.getBlockPos()), world.getBlockState(position.getBlockPos()), 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ public class ItemPackSelfSacrifice extends ItemArmor implements IAltarManipulato
|
|||
int filledAmount = altar.fillMainTank(amount);
|
||||
amount -= filledAmount;
|
||||
setStoredLP(stack, amount);
|
||||
world.setBlockState(position.getBlockPos(), world.getBlockState(position.getBlockPos()));
|
||||
world.notifyBlockUpdate(position.getBlockPos(), world.getBlockState(position.getBlockPos()), world.getBlockState(position.getBlockPos()), 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue