mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-26 08:29:44 +00:00
Update Potions.java
Add extra alias
This commit is contained in:
parent
12cd467277
commit
152cf98a9d
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue