From ef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 20 Apr 2017 01:49:27 +0300 Subject: Drop support for client protocol version 15 (Oct 26 2015). --- src/emap/script_buildins.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/emap/script_buildins.c') diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c index 6acdde0..45444b4 100644 --- a/src/emap/script_buildins.c +++ b/src/emap/script_buildins.c @@ -502,10 +502,8 @@ BUILDIN(requestCraft) st->state = RERUNLINE; // send item request with limit count - if (client && client->clientVersion >= 16) + if (client) send_npccommand2(sd, st->oid, 12, count, 0, 0); - else - clif->scriptinputstr(sd, st->oid); } else { -- cgit v1.2.3-60-g2f50