From 2199fb2cd0da3f6c58d2692d25abccf4c88b4d92 Mon Sep 17 00:00:00 2001 From: TheBusyBiscuit Date: Thu, 24 Dec 2020 16:15:47 +0100 Subject: [PATCH] Update src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockPhysicsListener.java --- .../implementation/listeners/BlockPhysicsListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockPhysicsListener.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockPhysicsListener.java index 1270fd7dd..ff236ffd0 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockPhysicsListener.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockPhysicsListener.java @@ -87,7 +87,7 @@ public class BlockPhysicsListener implements Listener { Material type = block.getType(); // Check if this Material can be destroyed by fluids - if (SlimefunTag.FLUID_SENSITIVE_MATERIALS.isTagged(block.getType())) { + if (SlimefunTag.FLUID_SENSITIVE_MATERIALS.isTagged(type)) { // Check if this Block holds any data if (BlockStorage.hasBlockInfo(block)) { e.setCancelled(true);