Buffed resistance effect granted by walking on obsidian.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user