Fixed class exp table application

This commit is contained in:
Jules 2022-08-07 22:59:16 +02:00
parent 6ef15ffcea
commit bd5aeba93d
2 changed files with 0 additions and 5 deletions

View File

@ -773,10 +773,6 @@ public class PlayerData extends OfflinePlayerData implements Closable, Experienc
new SmallParticleEffect(getPlayer(), Particle.SPELL_INSTANT);
}
getStats().updateStats();
// Apply class experience table
if (getProfess().hasExperienceTable())
getProfess().getExperienceTable().claim(this, level, getProfess());
}
refreshVanillaExp();

View File

@ -213,7 +213,6 @@ public class PlayerProfessions {
// Apply profession experience table
if (profession.hasExperienceTable())
profession.getExperienceTable().claim(playerData, level, profession);
}
if (check) {