forked from MagicBane/Server
box flag effect finished
This commit is contained in:
@@ -5204,10 +5204,12 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
//this.effects.remove(String.valueOf(eb.getUUID()));
|
//this.effects.remove(String.valueOf(eb.getUUID()));
|
||||||
for(Effect eff : this.effects.values()){
|
for(Effect eff : this.effects.values()){
|
||||||
if(eff.getEffectsBase().equals(eb)){
|
if(eff.getEffectsBase().equals(eb)){
|
||||||
eff.endEffectNoPower();
|
|
||||||
eff.endEffect();
|
eff.endEffect();
|
||||||
|
eff.endEffectNoPower();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.effects.remove("PvE-Flagged");
|
||||||
|
this.effects.remove("1258");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.isFlying()) {
|
if (this.isFlying()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user