forked from MagicBane/Server
player update bug
This commit is contained in:
@@ -5197,6 +5197,12 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
grantXP(Experience.getBaseExperience(this.level + 1) - this.exp);
|
grantXP(Experience.getBaseExperience(this.level + 1) - this.exp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(this.isBoxed && !this.containsEffect(-654906771)){
|
||||||
|
PowersManager.applyPower(this,this,this.loc,-935138707,40,false);
|
||||||
|
}else if(!this.isBoxed && this.containsEffect(-654906771)){
|
||||||
|
EffectsBase eb = PowersManager.getEffectByToken(-654906771);
|
||||||
|
this.effects.remove(String.valueOf(eb.getUUID()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (this.isFlying()) {
|
if (this.isFlying()) {
|
||||||
if (this.effects.containsKey("MoveBuff")) {
|
if (this.effects.containsKey("MoveBuff")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user