Added a ##tag parser Pattern. gives a random combination using the blocks from the tag with an equal distribution.

This commit is contained in:
Matthew Miller
2019-01-31 22:27:41 +10:00
committed by IronApollo
parent 2bae161e5c
commit 4a8931a55a
4 changed files with 70 additions and 2 deletions

View File

@ -63,6 +63,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);
}
}