geforkt von Mirrors/FastAsyncWorldEdit
Fixes #231
Dieser Commit ist enthalten in:
Ursprung
b1244c7780
Commit
8812e1b60c
@ -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());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren