mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Update potions to 1.9
This commit is contained in:
parent
6d347881b7
commit
4e77fc0f0b
1 changed files with 12 additions and 0 deletions
|
@ -113,6 +113,18 @@ public class Potions {
|
||||||
ALIASPOTIONS.put("waterbreath", PotionEffectType.WATER_BREATHING);
|
ALIASPOTIONS.put("waterbreath", PotionEffectType.WATER_BREATHING);
|
||||||
ALIASPOTIONS.put("underwaterbreath", PotionEffectType.WATER_BREATHING);
|
ALIASPOTIONS.put("underwaterbreath", PotionEffectType.WATER_BREATHING);
|
||||||
ALIASPOTIONS.put("air", 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) {
|
public static PotionEffectType getByName(String name) {
|
||||||
|
|
Loading…
Reference in a new issue