Fixed olympiad observers getting expelled from the arena.
This commit is contained in:
parent
add2101129
commit
5e61cecf5b
@ -142,7 +142,7 @@ public class L2OlympiadStadiumZone extends L2ZoneRespawn
|
|||||||
if (player != null)
|
if (player != null)
|
||||||
{
|
{
|
||||||
// only participants, observers and GMs allowed
|
// only participants, observers and GMs allowed
|
||||||
if (!player.canOverrideCond(PcCondOverride.ZONE_CONDITIONS) && !player.isInOlympiadMode())
|
if (!player.canOverrideCond(PcCondOverride.ZONE_CONDITIONS) && !player.isInOlympiadMode() && !player.inObserverMode())
|
||||||
{
|
{
|
||||||
ThreadPoolManager.getInstance().executeGeneral(new KickPlayer(player));
|
ThreadPoolManager.getInstance().executeGeneral(new KickPlayer(player));
|
||||||
}
|
}
|
||||||
|
@ -142,7 +142,7 @@ public class L2OlympiadStadiumZone extends L2ZoneRespawn
|
|||||||
if (player != null)
|
if (player != null)
|
||||||
{
|
{
|
||||||
// only participants, observers and GMs allowed
|
// only participants, observers and GMs allowed
|
||||||
if (!player.canOverrideCond(PcCondOverride.ZONE_CONDITIONS) && !player.isInOlympiadMode())
|
if (!player.canOverrideCond(PcCondOverride.ZONE_CONDITIONS) && !player.isInOlympiadMode() && !player.inObserverMode())
|
||||||
{
|
{
|
||||||
ThreadPoolManager.getInstance().executeGeneral(new KickPlayer(player));
|
ThreadPoolManager.getInstance().executeGeneral(new KickPlayer(player));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user