From 9eafbf1c26dd49b41801c2a9d2efd09d898f5e82 Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Mon, 4 Nov 2024 12:20:51 +0100 Subject: [PATCH] Fix direction changes for //undo (#2972) --- .../core/history/changeset/FaweStreamChangeSet.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/history/changeset/FaweStreamChangeSet.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/history/changeset/FaweStreamChangeSet.java index e50030d21..f8ff1956f 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/history/changeset/FaweStreamChangeSet.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/history/changeset/FaweStreamChangeSet.java @@ -817,6 +817,7 @@ public abstract class FaweStreamChangeSet extends AbstractChangeSet { @Override protected void write(final MutableTileChange change, final CompoundTag tag) { change.tag = tag; + change.create = create; } @Override @@ -845,6 +846,7 @@ public abstract class FaweStreamChangeSet extends AbstractChangeSet { @Override protected void write(final MutableEntityChange change, final CompoundTag tag) { change.tag = tag; + change.create = create; } @Override