mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 01:17:36 +00:00
Actually support disabling chunk loading extent
This commit is contained in:
parent
4d209afc0c
commit
2e0fa300b7
@ -62,7 +62,9 @@ public class ChunkLoadingExtent extends AbstractDelegateExtent {
|
||||
|
||||
@Override
|
||||
public <B extends BlockStateHolder<B>> boolean setBlock(BlockVector3 location, B block) throws WorldEditException {
|
||||
world.checkLoadedChunk(location);
|
||||
if (enabled) {
|
||||
world.checkLoadedChunk(location);
|
||||
}
|
||||
return super.setBlock(location, block);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user