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
|
@ -685,6 +685,9 @@ public abstract class Contraption {
|
||||||
localPos;
|
localPos;
|
||||||
nbt.put("Controller", NbtUtils.writeBlockPos(controllerPos));
|
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) {
|
if (multiBlockBE.isController() && multiBlockBE.getHeight() <= 1 && multiBlockBE.getWidth() <= 1) {
|
||||||
nbt.put("LastKnownPos", NbtUtils.writeBlockPos(BlockPos.ZERO.below(Integer.MAX_VALUE - 1)));
|
nbt.put("LastKnownPos", NbtUtils.writeBlockPos(BlockPos.ZERO.below(Integer.MAX_VALUE - 1)));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue