Remove tellraw logs
All checks were successful
Deploy datapack to dev / Build (push) Successful in 8s

This commit is contained in:
themodernhakr 2025-03-23 02:24:54 -05:00
parent a9f6581a8d
commit 2d3d2abe33

View File

@ -49,7 +49,7 @@ class database.benchmark {
"temp.arrayTest1",
() => {
if (String.isEqual("ferdinland:ferdinland", "temp.arrayTest1[0].string", "entry500")) {
logger(1, database.benchmark.arrayTest1.run, "found: entry500");
::temp.result = ::temp.arrayTest1[0];
}
if (String.isEqual("ferdinland:ferdinland", "temp.arrayTest1[0].string", "entry500")) {
return;
@ -85,14 +85,14 @@ class database.benchmark {
}
function arrayTest2._searchIndex() {
$::temp.index = ::database.test.arrayTest2.index.$(keyword);
tellraw @a {"nbt":"temp.index","storage":"ferdinland:ferdinland"};
}
function arrayTest2._searchArray() {
$tellraw @a {"nbt":"database.test.arrayTest2.array[$(index)]", "storage":"ferdinland:ferdinland"};
$::temp.result = ::database.test.arrayTest2.array[$(index)];
}
function arrayTest2.run() {
this.arrayTest2._searchIndex({keyword: "entry500"});
this.arrayTest2._searchArray() with ::temp;
::temp.index.del();
::temp.result.del();
}
}