Charus 15 年之前
父節點
當前提交
964d4d10e2

+ 16 - 17
L2_GameServer/java/com/l2jserver/gameserver/network/serverpackets/ExGetOffAirShip.java

@@ -19,11 +19,10 @@ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 
 public class ExGetOffAirShip extends L2GameServerPacket
 {
-	
 	private static final String _S__FE_63_EXGETOFFAIRSHIP = "[S] FE:63 ExGetOffAirShip";
 
 	private final int _playerId, _airShipId, _x, _y, _z;
-	
+
 	public ExGetOffAirShip(L2PcInstance player, L2AirShipInstance ship, int x, int y, int z)
 	{
 		_playerId = player.getObjectId();
@@ -32,26 +31,26 @@ public class ExGetOffAirShip extends L2GameServerPacket
 		_y = y;
 		_z = z;
 		player.setXYZ(_x, _y, _z);
-		if (player.getPet() != null && player.getPet().isDead())
+		if (player.getPet() != null)
 			player.getPet().teleToLocation(_x, _y, _z);
 	}
 
 	@Override
-    protected void writeImpl()
-    {
-	    writeC(0xfe);
-	    writeH(0x64);
-	    
-	    writeD(_playerId);
-	    writeD(_airShipId);
-	    writeD(_x);
-	    writeD(_y);
-	    writeD(_z);
+	protected void writeImpl()
+	{
+		writeC(0xfe);
+		writeH(0x64);
+
+		writeD(_playerId);
+		writeD(_airShipId);
+		writeD(_x);
+		writeD(_y);
+		writeD(_z);
 	}
 
 	@Override
-    public String getType()
-    {
-	    return _S__FE_63_EXGETOFFAIRSHIP;
-    }
+	public String getType()
+	{
+		return _S__FE_63_EXGETOFFAIRSHIP;
+	}
 }

+ 15 - 16
L2_GameServer/java/com/l2jserver/gameserver/network/serverpackets/ExGetOnAirShip.java

@@ -19,11 +19,10 @@ import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 
 public class ExGetOnAirShip extends L2GameServerPacket
 {
-	
 	private static final String _S__FE_63_EXGETONAIRSHIP = "[S] FE:63 ExGetOnAirShip";
 
 	private final int _playerId, _airShipId, _x, _y, _z;
-	
+
 	public ExGetOnAirShip(L2PcInstance player, L2AirShipInstance ship)
 	{
 		_playerId = player.getObjectId();
@@ -35,21 +34,21 @@ public class ExGetOnAirShip extends L2GameServerPacket
 	}
 
 	@Override
-    protected void writeImpl()
-    {
-	    writeC(0xfe);
-	    writeH(0x63);
-	    
-	    writeD(_playerId);
-	    writeD(_airShipId);
-	    writeD(_x);
-	    writeD(_y);
-	    writeD(_z);
+	protected void writeImpl()
+	{
+		writeC(0xfe);
+		writeH(0x63);
+
+		writeD(_playerId);
+		writeD(_airShipId);
+		writeD(_x);
+		writeD(_y);
+		writeD(_z);
 	}
 
 	@Override
-    public String getType()
-    {
-	    return _S__FE_63_EXGETONAIRSHIP;
-    }
+	public String getType()
+	{
+		return _S__FE_63_EXGETONAIRSHIP;
+	}
 }