Buffed resistance effect granted by walking on obsidian.

This commit is contained in:
2022-06-04 14:34:33 -04:00
parent cd569b9914
commit bab7f7ed3a

View File

@@ -824,8 +824,7 @@ public class ArenaManager implements Listener {
// TODO: Support stained glass. // TODO: Support stained glass.
player.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 60, 0)); player.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 60, 0));
} else if (material.equals(Material.OBSIDIAN)){ } else if (material.equals(Material.OBSIDIAN)){
// TODO: May need to be buffed. Damage resistance I really doesn't feel like much. player.addPotionEffect(new PotionEffect(PotionEffectType.DAMAGE_RESISTANCE, 300, 1));
player.addPotionEffect(new PotionEffect(PotionEffectType.DAMAGE_RESISTANCE, 300, 0));
} }
} else { } else {
this.playersInArenas.remove(player); this.playersInArenas.remove(player);