This commit is contained in:
Jesse Boyd 2019-11-25 17:31:59 +00:00
parent e9595e3cdd
commit 1e9f197035
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 3 additions and 1 deletions

View File

@ -471,10 +471,12 @@ public class LocalSession implements TextureHolder {
if (editSession.getChangeSet() == null || limitMb == 0 || historySize >> 20 > limitMb && !append) {
return;
}
/*
// Don't store anything if no changes were made
if (editSession.size() == 0) {
return;
}
*/
FaweChangeSet changeSet = (FaweChangeSet) editSession.getChangeSet();
if (changeSet.isEmpty()) {

View File

@ -529,7 +529,7 @@ public class SelectionCommands {
boolean clipboardDistr,
@Switch(name = 'd', desc = "Separate blocks by state")
boolean separateStates,
@ArgFlag(name = 'p', desc = "Gets page from a previous distribution.", def = "")
@ArgFlag(name = 'p', desc = "Gets page from a previous distribution.", def = "1")
Integer page) throws WorldEditException {
List<Countable> distribution;