geforkt von Mirrors/FastAsyncWorldEdit
Fix #390
Turns out the FilterBlock's getOrdinal value is from the "get", and does not share the same reference as setOrdinal, whose value is from the "set", would modify. Because of this, even if #getOrdinal returns 0, we still must update the set with 0 by #setOrdinal.
Dieser Commit ist enthalten in:
Ursprung
16df4abd18
Commit
755ea09797
@ -108,7 +108,7 @@ public class MaskingExtent extends AbstractDelegateExtent implements IBatchProce
|
|||||||
@Override
|
@Override
|
||||||
public void applyBlock(FilterBlock block) {
|
public void applyBlock(FilterBlock block) {
|
||||||
int ordinal = block.getOrdinal();
|
int ordinal = block.getOrdinal();
|
||||||
if (ordinal != 0 && !mask.test(getExtent(), block)) {
|
if (!mask.test(getExtent(), block)) {
|
||||||
block.setOrdinal(0);
|
block.setOrdinal(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren