mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 10:56:42 +00:00
Fixed up the commitRequired checks.
This commit is contained in:
@ -114,12 +114,12 @@ public class FastModeExtent extends AbstractDelegateExtent {
|
||||
}
|
||||
|
||||
public boolean commitRequired() {
|
||||
return (enabled && !dirtyChunks.isEmpty()) || (postEditSimulation && !positions.isEmpty());
|
||||
return enabled || postEditSimulation;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Operation commitBefore() {
|
||||
if (!enabled && !postEditSimulation) {
|
||||
if (!commitRequired()) {
|
||||
return null;
|
||||
}
|
||||
return new Operation() {
|
||||
|
Reference in New Issue
Block a user