update to 3.1.1
now sends a messsage when a player is at the last prestige and last rank and trying to rank up fix playtime minutes requirement
This commit is contained in:
@@ -87,7 +87,11 @@ public class MessageBuilder {
|
||||
* @return an EmptyMessageBuilder if the message is empty, itself otherwise
|
||||
*/
|
||||
public MessageBuilder failIfEmpty() {
|
||||
if (message.isEmpty()) {
|
||||
return failIf(message.isEmpty());
|
||||
}
|
||||
|
||||
public MessageBuilder failIf(boolean value) {
|
||||
if (value) {
|
||||
return new EmptyMessageBuilder();
|
||||
} else {
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user