mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-24 03:05:56 +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