Fixed issues regarding block transformations and using the BaseBlock to apply a function.

This commit is contained in:
IronApollo
2019-02-07 09:04:14 -05:00
parent 0e5847e1ce
commit 511c279153
9 changed files with 90 additions and 53 deletions

View File

@ -144,15 +144,15 @@ public class AbstractDelegateExtent implements LightingExtent {
// mutable.mutZ(z);
return setBlock(BlockVector3.at(x, y, z), block);
}
public BlockState getBlock(BlockVector3 position) {
return extent.getBlock(position);
}
@Override
public <T extends BlockStateHolder<T>> boolean setBlock(BlockVector3 location, T block) throws WorldEditException {
return extent.setBlock(location, block);
}
public BlockState getBlock(BlockVector3 position) {
return extent.getBlock(position);
}
@Override
@Nullable