mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-03-02 11:11:58 +01:00
Update Potions.java
Add extra alias
This commit is contained in:
parent
12cd467277
commit
152cf98a9d
@ -108,6 +108,7 @@ public class Potions
|
||||
ALIASPOTIONS.put("absorb", PotionEffectType.ABSORPTION);
|
||||
|
||||
POTIONS.put("saturation", PotionEffectType.SATURATION);
|
||||
ALIASPOTIONS.put("food", PotionEffectType.SATURATION);
|
||||
}
|
||||
|
||||
public static PotionEffectType getByName(String name)
|
||||
@ -136,4 +137,4 @@ public class Potions
|
||||
{
|
||||
return POTIONS.entrySet();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user