Skip to content

Commit

Permalink
whoops, add public and instance to the getmethods
Browse files Browse the repository at this point in the history
  • Loading branch information
karashiiro committed Jun 13, 2020
1 parent b86d56f commit a3cf6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PluginCommandManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public PluginCommandManager(THost host, DalamudPluginInterface pluginInterface)
this.pluginInterface = pluginInterface;
this.host = host;

this.pluginCommands = host.GetType().GetMethods(BindingFlags.NonPublic | BindingFlags.Static)
this.pluginCommands = host.GetType().GetMethods(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance)
.Where(method => method.GetCustomAttribute<CommandAttribute>() != null)
.SelectMany(GetCommandInfoTuple)
.ToArray();
Expand Down

0 comments on commit a3cf6b0

Please sign in to comment.