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:
okx-code
2018-09-29 10:10:42 +01:00
parent f8ede913ef
commit 6cafe7940b
5 changed files with 11 additions and 3 deletions
@@ -26,7 +26,7 @@ public class PlaytimeMinutesRequirement extends Requirement {
@Override
public boolean check(Player player) {
return player.getStatistic(playOneTick) * TICKS_PER_MINUTE >= getValueDouble();
return player.getStatistic(playOneTick) / TICKS_PER_MINUTE >= getValueDouble();
}
@Override