3.5-beta.5

Update gradle wrapper
Fix current_prestige and next_prestige placeholders
This commit is contained in:
okx-code
2019-04-15 22:28:38 +01:00
parent 6ee799609c
commit e4ffa0425f
19 changed files with 76 additions and 47 deletions
@@ -15,8 +15,8 @@ public class XpLevelRequirement extends DeductibleRequirement {
}
@Override
public void apply(Player player) {
player.setLevel(player.getLevel() - getValueInt());
public void apply(Player player, double multiplier) {
player.setLevel(player.getLevel() - (int) Math.round(getValueInt() * multiplier));
}
@Override