Chamber Instance Tele to empty room fix.
Contributed by yksdtc.
This commit is contained in:
parent
745c66def2
commit
a6231ef3f8
@ -330,7 +330,7 @@ public abstract class Chamber extends AbstractInstance
|
|||||||
if (world.getInstanceId() == partyMember.getInstanceId())
|
if (world.getInstanceId() == partyMember.getInstanceId())
|
||||||
{
|
{
|
||||||
partyMember.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
partyMember.getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
|
||||||
partyMember.teleToLocation(ROOM_ENTER_POINTS[newRoom], true);
|
teleportPlayer(partyMember, ROOM_ENTER_POINTS[newRoom], world.getInstanceId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -517,7 +517,7 @@ public abstract class Chamber extends AbstractInstance
|
|||||||
{
|
{
|
||||||
if ((player.getParty() != null) && (player.getParty() == world.getPartyInside()))
|
if ((player.getParty() != null) && (player.getParty() == world.getPartyInside()))
|
||||||
{
|
{
|
||||||
player.teleToLocation(ROOM_ENTER_POINTS[world.currentRoom], false);
|
teleportPlayer(player, ROOM_ENTER_POINTS[world.currentRoom], world.getInstanceId(), false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user