mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Fix height brush
This commit is contained in:
@ -18,6 +18,9 @@ public class BlockStateImpl extends BlockState {
|
||||
|
||||
public BlockMaterial getMaterial() {
|
||||
if (this.material == null) {
|
||||
if (type == BlockTypes.__RESERVED__) {
|
||||
return this.material = type.getMaterial();
|
||||
}
|
||||
synchronized (this) {
|
||||
if (this.material == null) {
|
||||
this.material = WorldEdit.getInstance().getPlatformManager().queryCapability(Capability.GAME_HOOKS).getRegistries().getBlockRegistry().getMaterial(this);
|
||||
|
Reference in New Issue
Block a user