3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-09-16 04:51:22 +02:00

Actually support disabling chunk loading extent

Dieser Commit ist enthalten in:
Matthew Miller 2019-01-22 21:34:14 +10:00
Ursprung 4d209afc0c
Commit 2e0fa300b7

Datei anzeigen

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