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");
|
||||
Operations.completeBlindly(ch.createPaste(e).to(v).ignoreAirBlocks(pasteOptions.isIgnoreAir()).build());
|
||||
System.out.println("Operation: " + stop("operation"));
|
||||
System.out.println("ChangeSet: " + e.getChangeSet());
|
||||
return e;
|
||||
} catch (WorldEditException e) {
|
||||
throw new SecurityException(e.getMessage(), e);
|
||||
|
@ -484,6 +484,7 @@ public class Region {
|
||||
} else {
|
||||
editSession = paste(tempFile, pastePoint, pasteOptions);
|
||||
}
|
||||
System.out.println("ChangeSet2: " + editSession.getChangeSet());
|
||||
|
||||
initSessions();
|
||||
undoSessions.push(editSession);
|
||||
@ -508,6 +509,7 @@ public class Region {
|
||||
if (session == null) {
|
||||
return false;
|
||||
}
|
||||
System.out.println("ChangeSet3: " + session.getChangeSet());
|
||||
session.undo(session);
|
||||
redoSessions.push(session);
|
||||
return true;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren