Allow extent to be used down the pipeline in BlockReplace

- It's quite likely for this to be required given BlockReplace use in replacenear
 - Fixes #1390
Dieser Commit ist enthalten in:
dordsor21 2021-11-02 20:53:14 +00:00
Ursprung a716dd3778
Commit d91a971e85
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -50,7 +50,9 @@ public class BlockReplace implements RegionFunction {
@Override @Override
public boolean apply(BlockVector3 position) throws WorldEditException { public boolean apply(BlockVector3 position) throws WorldEditException {
return extent.setBlock(position, pattern.applyBlock(position)); //FAWE start - allow extent to be used down the pipeline
return pattern.apply(extent, position, position);
//FAWE end
} }
} }