mirror of
https://github.com/moparisthebest/MoparClassic
synced 2024-12-22 07:28:57 -05:00
#116 - this.stop();
This commit is contained in:
parent
b6de295806
commit
18b63da356
@ -60,14 +60,14 @@ public class FightEvent extends DelayedEvent {
|
||||
|
||||
public void run() {
|
||||
if(owner == null || affectedMob == null) {
|
||||
return;
|
||||
this.stop();
|
||||
}
|
||||
if (!owner.loggedIn()
|
||||
|| (affectedMob instanceof Player && !((Player) affectedMob)
|
||||
.loggedIn())) {
|
||||
owner.resetCombat(CombatState.ERROR);
|
||||
affectedMob.resetCombat(CombatState.ERROR);
|
||||
return;
|
||||
this.stop();
|
||||
}
|
||||
|
||||
Mob attacker, opponent;
|
||||
|
Loading…
Reference in New Issue
Block a user