diff options
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r-- | src/net/eathena/npchandler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp index 9a0054b6a..384b38d18 100644 --- a/src/net/eathena/npchandler.cpp +++ b/src/net/eathena/npchandler.cpp @@ -46,6 +46,7 @@ #include "debug.h" extern int packetVersion; +extern int packetVersionMain; extern int packetVersionRe; namespace EAthena @@ -366,8 +367,11 @@ BeingId NpcHandler::getNpc(Net::MessageIn &msg, void NpcHandler::requestAirship(const std::string &mapName, const int itemId) const { - if (packetVersionRe < 20180321) + if (packetVersionRe < 20180321 && + packetVersionMain < 20180620) + { return; + } createOutPacket(CMSG_PRIVATE_AIRSHIP_REQUEST); outMsg.writeString(mapName, 16, "map name"); outMsg.writeInt16(CAST_S16(itemId), "item"); |