mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-07 19:40:23 +01:00
Update potions to 1.9
This commit is contained in:
parent
6d347881b7
commit
4e77fc0f0b
@ -113,6 +113,18 @@ public class Potions {
|
||||
ALIASPOTIONS.put("waterbreath", PotionEffectType.WATER_BREATHING);
|
||||
ALIASPOTIONS.put("underwaterbreath", PotionEffectType.WATER_BREATHING);
|
||||
ALIASPOTIONS.put("air", PotionEffectType.WATER_BREATHING);
|
||||
|
||||
// 1.9
|
||||
try {
|
||||
POTIONS.put("glowing", PotionEffectType.GLOWING);
|
||||
ALIASPOTIONS.put("glow", PotionEffectType.GLOWING);
|
||||
|
||||
POTIONS.put("levitation", PotionEffectType.LEVITATION);
|
||||
ALIASPOTIONS.put("levitate", PotionEffectType.LEVITATION);
|
||||
|
||||
POTIONS.put("luck", PotionEffectType.LUCK);
|
||||
POTIONS.put("unluck", PotionEffectType.UNLUCK);
|
||||
} catch (Throwable ignored) {}
|
||||
}
|
||||
|
||||
public static PotionEffectType getByName(String name) {
|
||||
|
Loading…
Reference in New Issue
Block a user