Fixed users not being able to ignore message after writing name in thread if the flair is unknown

This commit is contained in:
Norbi Peti 2015-11-20 22:48:24 +01:00
parent 7192234b18
commit f319889f10
3 changed files with 4 additions and 2 deletions

Binary file not shown.

View file

@ -37,11 +37,13 @@ public class Commands implements CommandExecutor {
return true;
}
if (!p.FlairRecognised
&& !args[0].toLowerCase().equals("admin")) { // 2015.08.10.
&& !args[0].toLowerCase().equals("admin")
&& !args[0].toLowerCase().equals("ignore")) {
player.sendMessage("Sorry, but your flair isn't recorded. Please ask a mod to set it for you.");
return true;
}
if (!p.FlairDecided && !args[0].toLowerCase().equals("admin")) { // 2015.08.19.
if (!p.FlairDecided && !args[0].toLowerCase().equals("admin")
&& !args[0].toLowerCase().equals("ignore")) {
player.sendMessage("Please select between /u nonpresser and /u cantpress");
return true;
}