Permalink
Browse files

Actually support disabling chunk loading extent

  • Loading branch information...
me4502 committed Jan 22, 2019
1 parent 4d209af commit 2e0fa300b7465d0112fee7b3ef6251c4bfe91432
@@ -62,7 +62,9 @@ public ChunkLoadingExtent(Extent extent, World world) {

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

0 comments on commit 2e0fa30

Please sign in to comment.