Adjustments for Tiat doors.
This commit is contained in:
@ -582,12 +582,11 @@ public final class L2DoorInstance extends L2Character
|
||||
{
|
||||
broadcastPacket(SystemMessage.getSystemMessage(SystemMessageId.THE_CASTLE_GATE_HAS_BEEN_DESTROYED));
|
||||
}
|
||||
|
||||
// Correct position in case pathfinding moved player to a restricted location, since door coordinates can be behind objects.
|
||||
if (killer.isPlayer())
|
||||
else
|
||||
{
|
||||
killer.setLocation(killer.getActingPlayer().getLastServerPosition());
|
||||
openMe();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user