From cb256f10cdbe660c43382da248f55d7fb1694a91 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 18 Mar 2023 00:34:07 +0000 Subject: [PATCH] Bump max levels to 1000 (from 901) --- .../unicopia/entity/player/PlayerLevelStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerLevelStore.java b/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerLevelStore.java index 6bd3e982..42e1dc23 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerLevelStore.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerLevelStore.java @@ -26,18 +26,18 @@ class PlayerLevelStore implements Levelled.LevelStore { @Override public void add(int levels) { + Levelled.LevelStore.super.add(levels); if (levels > 0) { if (upgradeMana) { pony.getMagicalReserves().getMana().add(pony.getMagicalReserves().getMana().getMax() / 2); } pony.asWorld().playSound(null, pony.getOrigin(), levelUpSound, SoundCategory.PLAYERS, 1, 2); } - Levelled.LevelStore.super.add(levels); } @Override public int getMax() { - return 900; + return 999; // -1 because displayed levels start at 1 } @Override