Sync with L2jServer HighFive Mar 1st 2015.

This commit is contained in:
mobius
2015-03-01 22:48:14 +00:00
parent f14af24b41
commit 6fa0ed56e3
116 changed files with 971 additions and 676 deletions

View File

@ -30,9 +30,9 @@ import com.l2jserver.gameserver.network.serverpackets.VehicleStarted;
*/
public class L2BoatAI extends L2VehicleAI
{
public L2BoatAI(L2BoatInstance.AIAccessor accessor)
public L2BoatAI(L2BoatInstance creature)
{
super(accessor);
super(creature);
}
@Override
@ -46,7 +46,7 @@ public class L2BoatAI extends L2VehicleAI
}
_clientMoving = true;
_accessor.moveTo(x, y, z);
_actor.moveToLocation(x, y, z, 0);
_actor.broadcastPacket(new VehicleDeparture(getActor()));
}
}
@ -56,7 +56,7 @@ public class L2BoatAI extends L2VehicleAI
{
if (_actor.isMoving())
{
_accessor.stopMove(loc);
_actor.stopMove(loc);
}
if (_clientMoving || (loc != null))