forked from MagicBane/Server
box flag effect
This commit is contained in:
@@ -5201,7 +5201,13 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
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()));
|
||||
//this.effects.remove(String.valueOf(eb.getUUID()));
|
||||
for(Effect eff : this.effects.values()){
|
||||
if(eff.getEffectsBase().equals(eb)){
|
||||
eff.endEffectNoPower();
|
||||
eff.endEffect();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.isFlying()) {
|
||||
|
||||
Reference in New Issue
Block a user