rewrote the trust levels

This commit is contained in:
Parker2991
2025-09-12 12:54:08 -05:00
parent d2e2124fbe
commit a76e65b18f
34 changed files with 107 additions and 1343 deletions
+2 -4
View File
@@ -3,12 +3,10 @@ const ChatMessage = require("prismarine-chat")("1.20.2");
const stringify = (message) => new ChatMessage(message)?.toString();
class CommandError extends Error {
constructor(message, filename, lineError, useChat) {
super(stringify(message), filename, lineError, useChat);
constructor(message, filename, lineError) {
super(stringify(message), filename, lineError);
this.name = "CommandError";
this._message = message;
return (this._useChat = useChat);
// this._useChat = useChat
}
get message() {