use error instead of log

This commit is contained in:
ZXMushroom63 2024-09-26 13:05:05 +08:00
parent b8af5ad356
commit 4d69375e35

View File

@ -20,7 +20,7 @@
if (event.command.toLowerCase().startsWith("/spawnnpc")) {
if (!globalThis.AsyncSink) {
return console.log("NPC Spawner relies on the AsyncSink library.");
return console.error("NPC Spawner relies on the AsyncSink library.");
}
setup_filesystem_middleware();
const world = event.sender.getServerForPlayer();