Dieser Commit ist enthalten in:
Ursprung
6d7b2eec1a
Commit
2c2d27893d
@ -517,20 +517,15 @@ public class Region {
|
||||
|
||||
public boolean redo() {
|
||||
initSessions();
|
||||
EditSession session = null;
|
||||
try {
|
||||
session = redoSessions.pop();
|
||||
if (session == null) {
|
||||
return false;
|
||||
}
|
||||
session.redo(session);
|
||||
undoSessions.push(session);
|
||||
return true;
|
||||
} finally {
|
||||
if (session != null) {
|
||||
session.flushSession();
|
||||
}
|
||||
EditSession session = redoSessions.pop();
|
||||
if (session == null)
|
||||
return false;
|
||||
|
||||
try (EditSession e = WorldEdit.getInstance().getEditSessionFactory().getEditSession(new BukkitWorld(Bukkit.getWorlds().get(0)), -1)) {
|
||||
session.redo(e);
|
||||
undoSessions.push(e);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean backup() {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren