From 5ee4e61c276c149eb37bbc7ca59e409ede02f196 Mon Sep 17 00:00:00 2001 From: simibubi <31564874+simibubi@users.noreply.github.com> Date: Mon, 11 Oct 2021 17:10:55 +0200 Subject: [PATCH] Post-serialisation invalidation - Fixed Contraptions eternally stalling when loaded back from a temporarily stalled state --- .../components/structureMovement/MovementContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/MovementContext.java b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/MovementContext.java index d100c6707..bfad9ad5a 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/MovementContext.java +++ b/src/main/java/com/simibubi/create/content/contraptions/components/structureMovement/MovementContext.java @@ -75,7 +75,7 @@ public class MovementContext { nbt.put("Position", VecHelper.writeNBT(position)); nbt.putBoolean("Stall", stall); nbt.putBoolean("FirstMovement", firstMovement); - nbt.put("Data", data); + nbt.put("Data", data.copy()); return nbt; }