Fix parties at level cap gaining XP and thus spamming messages

Fixes #4686
This commit is contained in:
nossr50
2021-12-27 11:22:16 -08:00
parent dd550feb65
commit ef714f98c9
4 changed files with 5 additions and 4 deletions

View File

@ -370,7 +370,6 @@ public final class EventUtils {
boolean isCancelled = event.isCancelled();
if (isCancelled) {
party.setLevel(party.getLevel() + levelsChanged);
party.addXp(xpRemoved);
}