mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-27 20:56:05 +01:00
Don't process null materials.
This commit is contained in:
parent
7552fc6c91
commit
133d34683a
@ -247,6 +247,7 @@ public final class BlockUtil extends BlockUtils {
|
||||
int NMSVersion = NMSUtil.getVersionNumber();
|
||||
|
||||
CompatibleMaterial material = blockData.getCompatibleMaterial();
|
||||
if (material == null) return;
|
||||
|
||||
setBlockFast(block.getWorld(), block.getX(), block.getY(), block.getZ(), material, blockData.getData());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user