Fix fallbreak event on <1.13

This commit is contained in:
Daniel Ciepluch 2020-03-29 19:36:59 +02:00 committed by Brianna
parent 9aba80d570
commit 66decd849b

View File

@ -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;