Skip to content

Commit

Permalink
Merge pull request #5646 from TownyAdvanced/fix/t-trust-remove
Browse files Browse the repository at this point in the history
Fix /t trust remove not working.
  • Loading branch information
LlmDl authored Jan 18, 2022
2 parents e5dcd5f + b3b1a13 commit c5b0eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/palmergames/bukkit/towny/command/TownCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -4382,7 +4382,7 @@ private void townOutlawList(CommandSender sender, String[] args) throws TownyExc
public static void parseTownTrustCommand(Player player, String[] args, @Nullable Town town) {

if (args.length < 1
|| args.length < 2 && args[0].equalsIgnoreCase("add") || args[0].equalsIgnoreCase("remove")
|| args.length < 2 && (args[0].equalsIgnoreCase("add") || args[0].equalsIgnoreCase("remove"))
|| args.length == 1 && !args[0].equalsIgnoreCase("list")) {
HelpMenu.TOWN_TRUST_HELP.send(player);
return;
Expand Down

0 comments on commit c5b0eab

Please sign in to comment.