mirror of
https://github.com/BentoBoxWorld/AcidIsland.git
synced 2024-11-23 02:55:21 +01:00
Includes bubble columns
https://github.com/BentoBoxWorld/AcidIsland/issues/60
This commit is contained in:
parent
8ca6ccd833
commit
3879378594
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user