From b2e0ac5d3bd01ac9383d321efc483304cc7e0d6d Mon Sep 17 00:00:00 2001
From: pwpiwi <pwpiwi@users.noreply.github.com>
Date: Thu, 19 Jul 2018 18:01:18 +0200
Subject: [PATCH] fix: array index out of range in mfkeys.log (thanks to
 @TomHarkness)

---
 client/scripts/mfkeys.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/scripts/mfkeys.lua b/client/scripts/mfkeys.lua
index 671ce03d..e8abd0b9 100644
--- a/client/scripts/mfkeys.lua
+++ b/client/scripts/mfkeys.lua
@@ -68,7 +68,7 @@ function checkBlock(blockNo, keys, keyType)
 								data = data}
 		local status = checkCommand(command)
 		if status then return status, blockNo end
-		start = start+n+1
+		start = start + n
 		remaining = remaining - n
 	end
 	return nil
-- 
2.39.5