mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-16 11:37:30 +02:00
Update Potions.java
Add extra alias
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user