Fix tellraw issue and cleanup storages
All checks were successful
Deploy datapack to dev / Build (push) Successful in 7s

This commit is contained in:
themodernhakr 2025-03-28 17:45:52 -05:00
parent 915988215d
commit 350824a31f

View File

@ -36,6 +36,9 @@ function messagePrinter(name, caller, message) {
return 0;
}
}
::tmp.string.del();
::tmp.sub.del();
::tmp.message.del();
}
@lazy
@ -53,9 +56,11 @@ function logger(type, caller, message, body) {
messagePrinter($type, $caller, $message);
$isBody = $body;
if ($isBody) {
tellraw @a $body;
}
::tmp.body = $body;
execute run {
tellraw @a $(body);
} with ::tmp;
::tmp.body.del();
}
}