mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-03-07 13:48:00 +08:00
Stop trying to redo when history runs out.
This commit is contained in:
parent
477e78bd17
commit
a9926328f1
@ -110,6 +110,7 @@ public void redo(Player player, LocalSession session, CommandContext args) throw
|
||||
worldEdit.flushBlockBag(player, redone);
|
||||
} else {
|
||||
player.printError("Nothing left to redo.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user