Post-serialisation invalidation

- Fixed Contraptions eternally stalling when loaded back from a temporarily stalled state
This commit is contained in:
simibubi 2021-10-11 17:10:55 +02:00
parent 386a6f698b
commit 5ee4e61c27

View file

@ -75,7 +75,7 @@ public class MovementContext {
nbt.put("Position", VecHelper.writeNBT(position)); nbt.put("Position", VecHelper.writeNBT(position));
nbt.putBoolean("Stall", stall); nbt.putBoolean("Stall", stall);
nbt.putBoolean("FirstMovement", firstMovement); nbt.putBoolean("FirstMovement", firstMovement);
nbt.put("Data", data); nbt.put("Data", data.copy());
return nbt; return nbt;
} }