mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-09 20:31:28 +01:00
Reset Exp when switching Class
This commit is contained in:
parent
545688fbd8
commit
021026febd
@ -298,6 +298,10 @@ public class DPlayer {
|
||||
this.player.removePotionEffect(effect.getType());
|
||||
}
|
||||
|
||||
// Reset lvl
|
||||
this.player.setTotalExperience(0);
|
||||
this.player.setLevel(0);
|
||||
|
||||
/* Set Inventory */
|
||||
for (ItemStack istack : dclass.items) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user