From a9926328f11bc60dd8442cb844658c693d38db8a Mon Sep 17 00:00:00 2001 From: wizjany Date: Sat, 20 Apr 2019 12:13:46 -0400 Subject: [PATCH] Stop trying to redo when history runs out. --- .../main/java/com/sk89q/worldedit/command/HistoryCommands.java | 1 + 1 file changed, 1 insertion(+) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistoryCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistoryCommands.java index b960dfbe4..773916d59 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistoryCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistoryCommands.java @@ -110,6 +110,7 @@ public class HistoryCommands { worldEdit.flushBlockBag(player, redone); } else { player.printError("Nothing left to redo."); + break; } } }