Add debug messages for region undo debugging
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Ursprung
4a3d806bf4
Commit
4fcedb8c72
@ -213,6 +213,7 @@ public class FlatteningWrapper15 implements FlatteningWrapper {
|
|||||||
start("operation");
|
start("operation");
|
||||||
Operations.completeBlindly(ch.createPaste(e).to(v).ignoreAirBlocks(pasteOptions.isIgnoreAir()).build());
|
Operations.completeBlindly(ch.createPaste(e).to(v).ignoreAirBlocks(pasteOptions.isIgnoreAir()).build());
|
||||||
System.out.println("Operation: " + stop("operation"));
|
System.out.println("Operation: " + stop("operation"));
|
||||||
|
System.out.println("ChangeSet: " + e.getChangeSet());
|
||||||
return e;
|
return e;
|
||||||
} catch (WorldEditException e) {
|
} catch (WorldEditException e) {
|
||||||
throw new SecurityException(e.getMessage(), e);
|
throw new SecurityException(e.getMessage(), e);
|
||||||
|
@ -484,6 +484,7 @@ public class Region {
|
|||||||
} else {
|
} else {
|
||||||
editSession = paste(tempFile, pastePoint, pasteOptions);
|
editSession = paste(tempFile, pastePoint, pasteOptions);
|
||||||
}
|
}
|
||||||
|
System.out.println("ChangeSet2: " + editSession.getChangeSet());
|
||||||
|
|
||||||
initSessions();
|
initSessions();
|
||||||
undoSessions.push(editSession);
|
undoSessions.push(editSession);
|
||||||
@ -508,6 +509,7 @@ public class Region {
|
|||||||
if (session == null) {
|
if (session == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
System.out.println("ChangeSet3: " + session.getChangeSet());
|
||||||
session.undo(session);
|
session.undo(session);
|
||||||
redoSessions.push(session);
|
redoSessions.push(session);
|
||||||
return true;
|
return true;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren