Skip to content

Commit

Permalink
optimize(mcfish): migrate to AutoRegister
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Sep 3, 2023
1 parent dbda1b4 commit 673c715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/mcfish/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ var (
)

var (
engine = control.Register("mcfish", &ctrl.Options[*zero.Ctx]{
engine = control.AutoRegister(&ctrl.Options[*zero.Ctx]{
DisableOnDefault: false,
Brief: "钓鱼",
Help: "一款钓鱼模拟器\n----------指令----------\n" +
Expand Down

0 comments on commit 673c715

Please sign in to comment.