mirror of
https://github.com/DieReicheErethons/Brewery.git
synced 2024-11-04 08:49:55 +01:00
Added missing brackets (woops)
This commit is contained in:
parent
f729748ce7
commit
24571d0c0e
@ -83,7 +83,7 @@ public class CommandListener implements CommandExecutor {
|
||||
if (p.permission.has(sender, "brewery.cmd.delete")) {
|
||||
cmdDelete(sender);
|
||||
} else {
|
||||
p.msg(sender, p.languageReader.get("Error_NoPermissions");
|
||||
p.msg(sender, p.languageReader.get("Error_NoPermissions"));
|
||||
}
|
||||
|
||||
} else if (cmd.equalsIgnoreCase("unlabel")) {
|
||||
@ -152,7 +152,7 @@ public class CommandListener implements CommandExecutor {
|
||||
}
|
||||
|
||||
if (p.permission.has(sender, "brewery.cmd.unlabel")) {
|
||||
cmds.add (p.languageReader.get("Help_UnLabel");
|
||||
cmds.add (p.languageReader.get("Help_UnLabel"));
|
||||
}
|
||||
|
||||
if (p.permission.has(sender, "brewery.cmd.copy")) {
|
||||
@ -359,13 +359,13 @@ public class CommandListener implements CommandExecutor {
|
||||
Brew brew = Brew.get(hand);
|
||||
if (brew != null) {
|
||||
brew.unLabel(hand);
|
||||
p.msg(sender, p.languageReader.get("CMD_UnLabel");
|
||||
p.msg(sender, p.languageReader.get("CMD_UnLabel"));
|
||||
return;
|
||||
}
|
||||
}
|
||||
p.msg(sender, p.languageReader.get("Error_ItemNotPotion");
|
||||
p.msg(sender, p.languageReader.get("Error_ItemNotPotion"));
|
||||
} else {
|
||||
p.msg(sender, p.languageReader.get("Error_PlayerCommand");
|
||||
p.msg(sender, p.languageReader.get("Error_PlayerCommand"));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user