1
0
mirror of https://github.com/plexusorg/Plex-FAWE.git synced 2025-01-12 10:44:00 +00:00

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 
This commit is contained in:
dordsor21 2021-11-02 20:53:14 +00:00
parent a716dd3778
commit d91a971e85
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

@ -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
} }
} }