Kartia onEnterZone should only trigger in instance.
This commit is contained in:
parent
81d29e0644
commit
740acfdbd8
@ -465,7 +465,7 @@ public class KartiasLabyrinth extends AbstractInstance
|
||||
public String onEnterZone(Creature creature, ZoneType zone)
|
||||
{
|
||||
final Instance instance = creature.getInstanceWorld();
|
||||
if ((instance != null) && creature.isPlayer())
|
||||
if ((instance != null) && creature.isPlayer() && (instance.getTemplateId() >= TEMPLATE_ID_SOLO_85) && (instance.getTemplateId() <= TEMPLATE_ID_GROUP_95))
|
||||
{
|
||||
switch (zone.getId())
|
||||
{
|
||||
|
@ -465,7 +465,7 @@ public class KartiasLabyrinth extends AbstractInstance
|
||||
public String onEnterZone(Creature creature, ZoneType zone)
|
||||
{
|
||||
final Instance instance = creature.getInstanceWorld();
|
||||
if ((instance != null) && creature.isPlayer())
|
||||
if ((instance != null) && creature.isPlayer() && (instance.getTemplateId() >= TEMPLATE_ID_SOLO_85) && (instance.getTemplateId() <= TEMPLATE_ID_GROUP_95))
|
||||
{
|
||||
switch (zone.getId())
|
||||
{
|
||||
|
@ -465,7 +465,7 @@ public class KartiasLabyrinth extends AbstractInstance
|
||||
public String onEnterZone(Creature creature, ZoneType zone)
|
||||
{
|
||||
final Instance instance = creature.getInstanceWorld();
|
||||
if ((instance != null) && creature.isPlayer())
|
||||
if ((instance != null) && creature.isPlayer() && (instance.getTemplateId() >= TEMPLATE_ID_SOLO_85) && (instance.getTemplateId() <= TEMPLATE_ID_GROUP_95))
|
||||
{
|
||||
switch (zone.getId())
|
||||
{
|
||||
|
@ -465,7 +465,7 @@ public class KartiasLabyrinth extends AbstractInstance
|
||||
public String onEnterZone(Creature creature, ZoneType zone)
|
||||
{
|
||||
final Instance instance = creature.getInstanceWorld();
|
||||
if ((instance != null) && creature.isPlayer())
|
||||
if ((instance != null) && creature.isPlayer() && (instance.getTemplateId() >= TEMPLATE_ID_SOLO_85) && (instance.getTemplateId() <= TEMPLATE_ID_GROUP_95))
|
||||
{
|
||||
switch (zone.getId())
|
||||
{
|
||||
|
@ -465,7 +465,7 @@ public class KartiasLabyrinth extends AbstractInstance
|
||||
public String onEnterZone(Creature creature, ZoneType zone)
|
||||
{
|
||||
final Instance instance = creature.getInstanceWorld();
|
||||
if ((instance != null) && creature.isPlayer())
|
||||
if ((instance != null) && creature.isPlayer() && (instance.getTemplateId() >= TEMPLATE_ID_SOLO_85) && (instance.getTemplateId() <= TEMPLATE_ID_GROUP_95))
|
||||
{
|
||||
switch (zone.getId())
|
||||
{
|
||||
|
@ -465,7 +465,7 @@ public class KartiasLabyrinth extends AbstractInstance
|
||||
public String onEnterZone(Creature creature, ZoneType zone)
|
||||
{
|
||||
final Instance instance = creature.getInstanceWorld();
|
||||
if ((instance != null) && creature.isPlayer())
|
||||
if ((instance != null) && creature.isPlayer() && (instance.getTemplateId() >= TEMPLATE_ID_SOLO_85) && (instance.getTemplateId() <= TEMPLATE_ID_GROUP_95))
|
||||
{
|
||||
switch (zone.getId())
|
||||
{
|
||||
|
@ -465,7 +465,7 @@ public class KartiasLabyrinth extends AbstractInstance
|
||||
public String onEnterZone(Creature creature, ZoneType zone)
|
||||
{
|
||||
final Instance instance = creature.getInstanceWorld();
|
||||
if ((instance != null) && creature.isPlayer())
|
||||
if ((instance != null) && creature.isPlayer() && (instance.getTemplateId() >= TEMPLATE_ID_SOLO_85) && (instance.getTemplateId() <= TEMPLATE_ID_GROUP_95))
|
||||
{
|
||||
switch (zone.getId())
|
||||
{
|
||||
|
@ -465,7 +465,7 @@ public class KartiasLabyrinth extends AbstractInstance
|
||||
public String onEnterZone(Creature creature, ZoneType zone)
|
||||
{
|
||||
final Instance instance = creature.getInstanceWorld();
|
||||
if ((instance != null) && creature.isPlayer())
|
||||
if ((instance != null) && creature.isPlayer() && (instance.getTemplateId() >= TEMPLATE_ID_SOLO_85) && (instance.getTemplateId() <= TEMPLATE_ID_GROUP_95))
|
||||
{
|
||||
switch (zone.getId())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user