Adjustments for Tiat doors.

This commit is contained in:
MobiusDev
2018-09-15 15:18:30 +00:00
parent a674523af5
commit 850c075c0e
22 changed files with 261 additions and 276 deletions

View File

@@ -636,11 +636,6 @@ public 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())
{
killer.setLocation(killer.getActingPlayer().getLastServerPosition());
}
return true;
}