mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Update src/main/java/io/github/thebusybiscuit/slimefun4/implementation/listeners/BlockPhysicsListener.java
This commit is contained in:
parent
eac09eea9e
commit
2199fb2cd0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user