mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-03-04 06:44:40 +01:00
Update Contraption.java
- Fixed vault rendering on contraptions
This commit is contained in:
parent
01a9532678
commit
adb3de0461
1 changed files with 3 additions and 0 deletions
|
@ -684,6 +684,9 @@ public abstract class Contraption {
|
|||
toLocalPos(NbtUtils.readBlockPos(nbt.getCompound("Controller"))) :
|
||||
localPos;
|
||||
nbt.put("Controller", NbtUtils.writeBlockPos(controllerPos));
|
||||
|
||||
if (updateTags.containsKey(localPos))
|
||||
updateTags.get(localPos).put("Controller", NbtUtils.writeBlockPos(controllerPos));
|
||||
|
||||
if (multiBlockBE.isController() && multiBlockBE.getHeight() <= 1 && multiBlockBE.getWidth() <= 1) {
|
||||
nbt.put("LastKnownPos", NbtUtils.writeBlockPos(BlockPos.ZERO.below(Integer.MAX_VALUE - 1)));
|
||||
|
|
Loading…
Add table
Reference in a new issue