Sync with L2JServer Jan 24th 2015.

This commit is contained in:
mobius
2015-01-24 20:02:32 +00:00
parent d349bd3924
commit 1c6301c46d
1012 changed files with 23069 additions and 6307 deletions

View File

@@ -18,15 +18,14 @@
*/
package hellbound.AI;
import hellbound.HellboundEngine;
import ai.npc.AbstractNpcAI;
import com.l2jserver.gameserver.datatables.DoorTable;
import com.l2jserver.gameserver.data.xml.impl.DoorData;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2DoorInstance;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import hellbound.HellboundEngine;
/**
* Outpost Captain's AI.
* @author DS
@@ -78,7 +77,7 @@ public final class OutpostCaptain extends AbstractNpcAI
if (npc.getId() == CAPTAIN)
{
final L2DoorInstance door = DoorTable.getInstance().getDoor(20250001);
final L2DoorInstance door = DoorData.getInstance().getDoor(20250001);
if (door != null)
{
door.closeMe();