mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-31 21:07:47 +01:00
Fixed an issue affecting materials in 1.12.
This commit is contained in:
parent
027722b9cc
commit
a540f04ded
@ -57,6 +57,7 @@ public class BlockListeners implements Listener {
|
||||
boolean isStacked = blockStackManager.isBlock(block.getLocation());
|
||||
|
||||
CompatibleMaterial blockType = CompatibleMaterial.getMaterial(block);
|
||||
if (blockType == null) return;
|
||||
|
||||
if (isStacked || Settings.STACKABLE_BLOCKS.getStringList().contains(blockType.name())) {
|
||||
BlockStack stack = blockStackManager.getBlock(block, blockType);
|
||||
|
Loading…
Reference in New Issue
Block a user