diff --git a/amxmodx/trie_natives.cpp b/amxmodx/trie_natives.cpp index 1359c626..c4d301ce 100644 --- a/amxmodx/trie_natives.cpp +++ b/amxmodx/trie_natives.cpp @@ -108,7 +108,7 @@ static cell AMX_NATIVE_CALL TrieSetString(AMX *amx, cell *params) // native TrieSetArray(Trie:handle, const key[], const any:buffer[], buffsize) static cell AMX_NATIVE_CALL TrieSetArray(AMX *amx, cell *params) { - celltrie *t = g_TrieHandles.lookup(params[2]); + celltrie *t = g_TrieHandles.lookup(params[1]); if (t == NULL) {