diff --git a/packages/nukkit/src/server.ts b/packages/nukkit/src/server.ts index 2ff77664..d73a759c 100644 --- a/packages/nukkit/src/server.ts +++ b/packages/nukkit/src/server.ts @@ -45,6 +45,9 @@ export class NukkitServer implements server.Server { getNettyPipeline() { throw new Error("Method not implemented."); } + getRootLogger() { + return Packages.org.apache.logging.log4j.LogManager.getRootLogger() + } sendJson(sender: string | any, json: object | string): void { throw new Error("Method not implemented."); }