From a8e3346b4d61d9362e180a6a78e147cf10e5f475 Mon Sep 17 00:00:00 2001 From: themodernhakr Date: Sun, 23 Mar 2025 02:03:15 -0500 Subject: [PATCH] Fix index --- src/database/database.jmc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/database.jmc b/src/database/database.jmc index c29411b..3a253c1 100644 --- a/src/database/database.jmc +++ b/src/database/database.jmc @@ -88,7 +88,7 @@ class database.benchmark { tellraw @a {"nbt":"temp.index","storage":"ferdinland:ferdinland"}; } function arrayTest2._searchArray() { - $tellraw @a {"nbt":"database.test.arrayTest2.array.$(index)", "storage":"ferdinland:ferdinland"}; + $tellraw @a {"nbt":"database.test.arrayTest2.array[$(index)]", "storage":"ferdinland:ferdinland"}; } function arrayTest2.run() { this.arrayTest2._searchIndex({keyword: "entry500"});