From 387937859432bc91db119cdb928219c4fcc8068d Mon Sep 17 00:00:00 2001 From: tastybento Date: Mon, 2 Sep 2019 13:06:57 -0700 Subject: [PATCH] Includes bubble columns https://github.com/BentoBoxWorld/AcidIsland/issues/60 --- .../java/world/bentobox/acidisland/listeners/AcidEffect.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/world/bentobox/acidisland/listeners/AcidEffect.java b/src/main/java/world/bentobox/acidisland/listeners/AcidEffect.java index 7341cea..5c76571 100644 --- a/src/main/java/world/bentobox/acidisland/listeners/AcidEffect.java +++ b/src/main/java/world/bentobox/acidisland/listeners/AcidEffect.java @@ -196,6 +196,7 @@ public class AcidEffect implements Listener { private boolean isSafeFromAcid(Player player) { // Not in liquid or on snow if (!player.getLocation().getBlock().getType().equals(Material.WATER) + && !player.getLocation().getBlock().getType().equals(Material.BUBBLE_COLUMN) && (!player.getLocation().getBlock().getType().equals(Material.SNOW) || !addon.getSettings().isAcidDamageSnow()) && !player.getLocation().getBlock().getRelative(BlockFace.UP).getType().equals(Material.WATER)) { return true;