Skip to content

Commit

Permalink
调整执行顺序以避免在事件信息注册后修改信息导致的报错
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvigarabis committed Oct 3, 2023
1 parent 000d026 commit 67b70a3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/yoni/event/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ export { EventListener } from "./decorators/EventListener.js";
export { eventManager } from "./EventManager.js";
export { listenEvent } from "./lib/listenEvent.js";

import { registerMinecraftNativeEvents } from "./lib/eventRegistration.js";
registerMinecraftNativeEvents();

import { registerMinecraftEventOptionResolvers } from "./adapting/eventOptions/MinecraftEventOptionResolvers.js";
registerMinecraftEventOptionResolvers();

import { registerMinecraftNativeEvents } from "./lib/eventRegistration.js";
registerMinecraftNativeEvents();

0 comments on commit 67b70a3

Please sign in to comment.