Includes bubble columns

https://github.com/BentoBoxWorld/AcidIsland/issues/60
This commit is contained in:
tastybento 2019-09-02 13:06:57 -07:00
parent 8ca6ccd833
commit 3879378594

View File

@ -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;