mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +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 #1390
This commit is contained in:
parent
a716dd3778
commit
d91a971e85
@ -50,7 +50,9 @@ public class BlockReplace implements RegionFunction {
|
||||
|
||||
@Override
|
||||
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
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user