Remove tellraw logs
All checks were successful
Deploy datapack to dev / Build (push) Successful in 8s
All checks were successful
Deploy datapack to dev / Build (push) Successful in 8s
This commit is contained in:
parent
a9f6581a8d
commit
2d3d2abe33
@ -49,7 +49,7 @@ class database.benchmark {
|
|||||||
"temp.arrayTest1",
|
"temp.arrayTest1",
|
||||||
() => {
|
() => {
|
||||||
if (String.isEqual("ferdinland:ferdinland", "temp.arrayTest1[0].string", "entry500")) {
|
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")) {
|
if (String.isEqual("ferdinland:ferdinland", "temp.arrayTest1[0].string", "entry500")) {
|
||||||
return;
|
return;
|
||||||
@ -85,14 +85,14 @@ class database.benchmark {
|
|||||||
}
|
}
|
||||||
function arrayTest2._searchIndex() {
|
function arrayTest2._searchIndex() {
|
||||||
$::temp.index = ::database.test.arrayTest2.index.$(keyword);
|
$::temp.index = ::database.test.arrayTest2.index.$(keyword);
|
||||||
tellraw @a {"nbt":"temp.index","storage":"ferdinland:ferdinland"};
|
|
||||||
}
|
}
|
||||||
function arrayTest2._searchArray() {
|
function arrayTest2._searchArray() {
|
||||||
$tellraw @a {"nbt":"database.test.arrayTest2.array[$(index)]", "storage":"ferdinland:ferdinland"};
|
$::temp.result = ::database.test.arrayTest2.array[$(index)];
|
||||||
}
|
}
|
||||||
function arrayTest2.run() {
|
function arrayTest2.run() {
|
||||||
this.arrayTest2._searchIndex({keyword: "entry500"});
|
this.arrayTest2._searchIndex({keyword: "entry500"});
|
||||||
this.arrayTest2._searchArray() with ::temp;
|
this.arrayTest2._searchArray() with ::temp;
|
||||||
::temp.index.del();
|
::temp.index.del();
|
||||||
|
::temp.result.del();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user