Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-14 15:10:05 +01:00
Fixed WORLDEDIT-2717, max-blocks-changed . maximum overriden by default
min(default_limit, max_limit) meant that the max limit was really default_limit when the default was less than the max
Dieser Commit ist enthalten in:
Ursprung
8efb995667
Commit
33d0d7cd6c
@ -334,8 +334,7 @@ public class WorldEdit {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Bound the change limit
|
// Bound the change limit
|
||||||
int maxChangeLimit = Math.min(config.defaultChangeLimit,
|
int maxChangeLimit = config.maxChangeLimit;
|
||||||
config.maxChangeLimit);
|
|
||||||
if (currentChangeLimit == -1 || currentChangeLimit > maxChangeLimit) {
|
if (currentChangeLimit == -1 || currentChangeLimit > maxChangeLimit) {
|
||||||
session.setBlockChangeLimit(maxChangeLimit);
|
session.setBlockChangeLimit(maxChangeLimit);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren