Skip to content

Commit

Permalink
fixed constructor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
byteful authored and byteful committed Mar 15, 2022
1 parent 6de813f commit 6503c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/nthbyte/dialogue/DialogueAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class DialogueAPI {
*/
public static void hook(JavaPlugin hookingPlugin){
dialogueManager = new DialogueManager(hookingPlugin);
hookingPlugin.getServer().getPluginManager().registerEvents(new DialogueListener(hookingPlugin, dialogueManager), hookingPlugin);
hookingPlugin.getServer().getPluginManager().registerEvents(new DialogueListener(dialogueManager), hookingPlugin);
}

/**
Expand Down

0 comments on commit 6503c13

Please sign in to comment.