1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 11:45:51 +00:00

Update src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockPhysicsListener.java

This commit is contained in:
TheBusyBiscuit 2020-12-24 16:15:47 +01:00 committed by GitHub
parent eac09eea9e
commit 2199fb2cd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ public class BlockPhysicsListener implements Listener {
Material type = block.getType(); Material type = block.getType();
// Check if this Material can be destroyed by fluids // 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 // Check if this Block holds any data
if (BlockStorage.hasBlockInfo(block)) { if (BlockStorage.hasBlockInfo(block)) {
e.setCancelled(true); e.setCancelled(true);