优化代码

This commit is contained in:
flswld committed 2023-03-12 03:17:42 +08:00
1 parent 3bcdf75448
commit 8c1dedc472
20 files changed
+407 -296

No files matched your search

+1 -1
View File
@@ -338,7 +338,7 @@ func (c *CommandManager) GiveCommand(cmd *CommandMessage) {
// ReloadConfigCommand 帮助命令
func (c *CommandManager) ReloadConfigCommand(cmd *CommandMessage) {
LOCAL_EVENT_MANAGER.localEventChan <- &LocalEvent{
LOCAL_EVENT_MANAGER.GetLocalEventChan() <- &LocalEvent{
EventId: ReloadGameDataConfig,
}