mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-23 18:55:30 +01:00
Fix fallbreak event on <1.13
This commit is contained in:
parent
9aba80d570
commit
66decd849b
@ -59,7 +59,7 @@ public class FallBreak implements Listener {
|
||||
FallingBlock fallingBlock = (FallingBlock) e;
|
||||
|
||||
// Get the block material
|
||||
CompatibleMaterial material = CompatibleMaterial.getMaterial(fallingBlock.getBlockData().getMaterial());
|
||||
CompatibleMaterial material = CompatibleMaterial.getMaterial(fallingBlock.getMaterial());
|
||||
|
||||
if (material == null) continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user