Change string to object, smh
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s

This commit is contained in:
themodernhakr 2025-03-23 10:23:18 -05:00
parent 1784e8fcd5
commit 1474266e89

View File

@ -49,10 +49,10 @@ class database.benchmark {
"ferdinland:ferdinland", "ferdinland:ferdinland",
"temp.arrayTest1", "temp.arrayTest1",
() => { () => {
if (String.isEqual("ferdinland:ferdinland", "temp.arrayTest1[0].string", "entry500")) { if (Object.isEqual("ferdinland:ferdinland", "temp.arrayTest1[0].string", "ferdinland:ferdinland", "temp.keyword")) {
::temp.result = ::temp.arrayTest1[0]; ::temp.result = ::temp.arrayTest1[0];
} }
if (String.isEqual("ferdinland:ferdinland", "temp.arrayTest1[0].string", "entry500")) { if (Object.isEqual("ferdinland:ferdinland", "temp.arrayTest1[0].string", "ferdinland:ferdinland", "temp.keyword")) {
return; return;
} }
} }