fix playtime minutes requirement and add world requirement

This commit is contained in:
okx-code
2018-12-15 09:56:57 +00:00
parent 02a8dc4e25
commit ac6945431a
3 changed files with 39 additions and 4 deletions
@@ -35,8 +35,8 @@ public class RanksCommand implements CommandExecutor {
// helpful message to say there is a null rankup
if (next == null) {
plugin.getMessage(Message.INVALID_RANKUP).failIfEmpty().send(sender);
plugin.getLogger().severe("Rankup from " + rank.getName() + " to " + rank.getNext() +
" is defined but " + rank.getNext() + " does not exist.");
plugin.getLogger().severe("Rankup from " + rank.getName() + " to " + rank.getNext()
+ " is defined but " + rank.getNext() + " does not exist.");
return true;
}