Removed Flagwar super call.
This commit is contained in:
parent
caf2def082
commit
270d408657
@ -40,7 +40,6 @@ import com.l2jmobius.gameserver.model.Location;
|
||||
import com.l2jmobius.gameserver.model.TeleportWhereType;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.entity.Siegable;
|
||||
import com.l2jmobius.gameserver.model.entity.clanhall.ClanHallSiegeEngine;
|
||||
import com.l2jmobius.gameserver.model.entity.clanhall.SiegeStatus;
|
||||
import com.l2jmobius.gameserver.model.zone.type.L2ResidenceHallTeleportZone;
|
||||
@ -499,7 +498,7 @@ public abstract class FlagWar extends ClanHallSiegeEngine
|
||||
}
|
||||
|
||||
// Schedule open doors closement and siege start in 2 minutes
|
||||
ThreadPoolManager.getInstance().scheduleGeneral(new CloseOutterDoorsTask(FlagWar.super), 300000);
|
||||
ThreadPoolManager.getInstance().scheduleGeneral(new CloseOutterDoorsTask(), 300000);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -508,11 +507,8 @@ public abstract class FlagWar extends ClanHallSiegeEngine
|
||||
*/
|
||||
private class CloseOutterDoorsTask implements Runnable
|
||||
{
|
||||
private final Siegable _siegable;
|
||||
|
||||
CloseOutterDoorsTask(Siegable clanHallSiege)
|
||||
public CloseOutterDoorsTask()
|
||||
{
|
||||
_siegable = clanHallSiege;
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -524,8 +520,7 @@ public abstract class FlagWar extends ClanHallSiegeEngine
|
||||
}
|
||||
|
||||
_hall.getZone().banishNonSiegeParticipants();
|
||||
|
||||
_siegable.startSiege();
|
||||
_hall.getSiege().startSiege();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user