summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-06 20:11:29 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-06 20:11:29 +0300
commit1466f73a383891b617d68136bb4004137028e309 (patch)
treee6670d94a638022422aedf4fcf58bd9dcbfde5c5 /src/net/eathena/inventoryhandler.cpp
parent3be3367b3b8e5e75e29fd6e5bb549d3756be4cd9 (diff)
downloadplus-1466f73a383891b617d68136bb4004137028e309.tar.gz
plus-1466f73a383891b617d68136bb4004137028e309.tar.bz2
plus-1466f73a383891b617d68136bb4004137028e309.tar.xz
plus-1466f73a383891b617d68136bb4004137028e309.zip
Drop support for plugin version 18.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 7c687ab47..6ee395e0f 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -124,7 +124,7 @@ void InventoryHandler::useItem(const Item *const item,
if (item == nullptr)
return;
- if (serverVersion >= 19)
+ if (serverVersion > 0)
{
createOutPacket(CMSG_PLAYER_INVENTORY_USE2);
outMsg.writeInt16(CAST_S16(