Skip to content

Commit

Permalink
- Fix /t set perm commands showing error feedback messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
LlmDl committed Nov 18, 2023
1 parent db58133 commit d854bcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3364,6 +3364,7 @@ else if (split[0].equalsIgnoreCase("town"))
TownyMessaging.sendErrorMsg(sender, Translatable.of("msg_err_invalid_input", "on/off."));
return;
}
break;
}
case 2: { // Either /t set perm PERMLEVEL on|off or /t set perm ACTIONTYPE on|off
boolean b;
Expand Down Expand Up @@ -3391,6 +3392,7 @@ else if (split[0].equalsIgnoreCase("town"))
return;
}
}
break;
}
case 3: { // /t set perm PERMLEVEL ACTIONTYPE on|off
TownyPermission.PermLevel permLevel;
Expand All @@ -3412,6 +3414,7 @@ else if (split[0].equalsIgnoreCase("town"))
TownyMessaging.sendErrorMsg(sender, Translatable.of("msg_err_invalid_input", "on/off."));
return;
}
break;
}
}

Expand Down
3 changes: 2 additions & 1 deletion Towny/src/main/resources/ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9215,4 +9215,5 @@ v0.92.0.11:
- Closes #7089.
- Fix regression: the /t invite {playername} not working as of 0.100.0.2.
- Add Confirmation to /t set mayor command.
- Closes #7092.
- Closes #7092.
- Fix /t set perm commands showing error feedback messages.

0 comments on commit d854bcb

Please sign in to comment.