Prevent Axolotl from dying in acid.

Fixes https://github.com/BentoBoxWorld/AcidIsland/issues/116
This commit is contained in:
tastybento 2021-11-27 11:11:19 -08:00
parent c9367feea8
commit 6925f0002b

View File

@ -29,7 +29,7 @@ import world.bentobox.acidisland.listeners.AcidEffect;
public class AcidTask {
private final AcidIsland addon;
private static final List<EntityType> IMMUNE = Arrays.asList(EntityType.TURTLE, EntityType.POLAR_BEAR, EntityType.DROWNED);
private static final List<EntityType> IMMUNE = Arrays.asList(EntityType.TURTLE, EntityType.POLAR_BEAR, EntityType.DROWNED, EntityType.AXOLOTL);
private Map<Entity, Long> itemsInWater = new ConcurrentHashMap<>();
private final BukkitTask findMobsTask;