diff --git a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandpotion.java b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandpotion.java index 447772df3..3af227287 100644 --- a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandpotion.java +++ b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandpotion.java @@ -34,7 +34,7 @@ public class Commandpotion extends EssentialsCommand { final Set potionslist = new TreeSet<>(); for (final Map.Entry entry : Potions.entrySet()) { final String potionName = entry.getValue().getName().toLowerCase(Locale.ENGLISH); - if (potionslist.contains(potionName) || user.isAuthorized("essentials.potion." + potionName)) { + if (potionslist.contains(potionName) || user.isAuthorized("essentials.potions." + potionName)) { potionslist.add(entry.getKey()); } } @@ -85,7 +85,7 @@ public class Commandpotion extends EssentialsCommand { } for (final Map.Entry entry : Potions.entrySet()) { final String potionName = entry.getValue().getName().toLowerCase(Locale.ENGLISH); - if (user.isAuthorized("essentials.potion." + potionName)) { + if (user.isAuthorized("essentials.potions." + potionName)) { options.add("effect:" + entry.getKey()); } }