From 47fef5b345135aea3e84d621a0fa4de0eea81e74 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 1 Oct 2016 15:33:45 +1000 Subject: [PATCH] Fixed #324 --- core/src/main/java/com/sk89q/worldedit/LocalSession.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/com/sk89q/worldedit/LocalSession.java b/core/src/main/java/com/sk89q/worldedit/LocalSession.java index f675334d..058cdc64 100644 --- a/core/src/main/java/com/sk89q/worldedit/LocalSession.java +++ b/core/src/main/java/com/sk89q/worldedit/LocalSession.java @@ -520,6 +520,7 @@ public class LocalSession { .changeSet(changeSet) .fastmode(false) .limitUnlimited() + .player(FawePlayer.wrap(player)) .build(); newEditSession.undo(newEditSession); setDirty(); @@ -566,6 +567,7 @@ public class LocalSession { .changeSet(changeSet) .fastmode(false) .limitUnlimited() + .player(FawePlayer.wrap(player)) .build(); newEditSession.redo(newEditSession); return newEditSession;