Fixed XP bug
Signed-off-by: StevenRS11 <stevenrs11@aol.com>
This commit is contained in:
parent
c62cd5039d
commit
42d1e646f7
1 changed files with 5 additions and 1 deletions
|
@ -226,10 +226,14 @@ public class dimHelper extends DimensionManager
|
||||||
{
|
{
|
||||||
player.addExperience(1);
|
player.addExperience(1);
|
||||||
}
|
}
|
||||||
else
|
else if(player.experience>2)
|
||||||
{
|
{
|
||||||
player.addExperience(-1);
|
player.addExperience(-1);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
player.addExperience(1);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue