fix: Dependency cycles

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-03-01 19:37:34 +08:00
parent 553632e6ba
commit c10247e241
8 changed files with 23 additions and 14 deletions

View File

@ -41,7 +41,7 @@ export class BukkitServer implements server.Server {
return this.pluginsFolder;
}
getNativePluginManager() {
throw new Error("Method not implemented.");
return Bukkit.getPluginManager() as any;
}
sendJson(sender: string | any, json: object | string): void {
if (typeof sender === "string") {