diff --git a/src/me/ryanhamshire/GriefPrevention/Claim.java b/src/me/ryanhamshire/GriefPrevention/Claim.java index 64782c5..2e3307b 100644 --- a/src/me/ryanhamshire/GriefPrevention/Claim.java +++ b/src/me/ryanhamshire/GriefPrevention/Claim.java @@ -141,7 +141,7 @@ public class Claim Block block = lesser.getWorld().getBlockAt(x, y, z); if(exclusionClaim != null && exclusionClaim.contains(block.getLocation(), true, false)) continue; - if(block.getType() == Material.STATIONARY_LAVA || block.getType() == Material.LAVA) + if(block.getType() == Material.STATIONARY_LAVA || block.getType() == Material.WATER || block.getType() == Material.STATIONARY_WATER || block.getType() == Material.LAVA) { block.setType(Material.AIR); } @@ -174,7 +174,7 @@ public class Claim //dodge the exclusion claim Block block = lesser.getWorld().getBlockAt(x, y, z); - if(block.getType() == Material.STATIONARY_LAVA || block.getType() == Material.LAVA) + if(block.getType() == Material.STATIONARY_LAVA || block.getType() == Material.WATER || block.getType() == Material.STATIONARY_WATER || block.getType() == Material.LAVA) { return true; }