3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 19:02:36 +01:00
Dieser Commit ist enthalten in:
Jesse Boyd 2019-11-14 16:01:38 +00:00
Ursprung b1244c7780
Commit 8812e1b60c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F

Datei anzeigen

@ -253,11 +253,11 @@ public class HistoryCommands {
for (; i < finalTimes; ++i) { for (; i < finalTimes; ++i) {
undone = undoSession.undo(undoSession.getBlockBag(player), player); undone = undoSession.undo(undoSession.getBlockBag(player), player);
if (undone == null) break; if (undone == null) break;
worldEdit.flushBlockBag(player, undone);
} }
if (undone == null) i--; if (undone == null) i--;
if (i > 0) { if (i > 0) {
BBC.COMMAND_UNDO_SUCCESS.send(player, i == 1 ? "" : " x" + i); BBC.COMMAND_UNDO_SUCCESS.send(player, i == 1 ? "" : " x" + i);
worldEdit.flushBlockBag(player, undone);
} }
if (undone == null) { if (undone == null) {
player.printError(BBC.COMMAND_UNDO_ERROR.s()); player.printError(BBC.COMMAND_UNDO_ERROR.s());