mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-02-04 11:41:25 +01:00
Fixed class exp table application
This commit is contained in:
parent
6ef15ffcea
commit
bd5aeba93d
@ -773,10 +773,6 @@ public class PlayerData extends OfflinePlayerData implements Closable, Experienc
|
|||||||
new SmallParticleEffect(getPlayer(), Particle.SPELL_INSTANT);
|
new SmallParticleEffect(getPlayer(), Particle.SPELL_INSTANT);
|
||||||
}
|
}
|
||||||
getStats().updateStats();
|
getStats().updateStats();
|
||||||
|
|
||||||
// Apply class experience table
|
|
||||||
if (getProfess().hasExperienceTable())
|
|
||||||
getProfess().getExperienceTable().claim(this, level, getProfess());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
refreshVanillaExp();
|
refreshVanillaExp();
|
||||||
|
@ -213,7 +213,6 @@ public class PlayerProfessions {
|
|||||||
// Apply profession experience table
|
// Apply profession experience table
|
||||||
if (profession.hasExperienceTable())
|
if (profession.hasExperienceTable())
|
||||||
profession.getExperienceTable().claim(playerData, level, profession);
|
profession.getExperienceTable().claim(playerData, level, profession);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (check) {
|
if (check) {
|
||||||
|
Loading…
Reference in New Issue
Block a user