Skip to content

Commit

Permalink
Actually Fix these two Hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
DrkMatr1984 committed Dec 17, 2019
1 parent 82cac6e commit e0abe4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public LibsDisguisesApiHook(VanishPlugin plugin) {

@Override
public void onEnable() {
final Plugin LibDisguise = this.plugin.getServer().getPluginManager().getPlugin("Libsdisguises");
final Plugin LibDisguise = this.plugin.getServer().getPluginManager().getPlugin("LibsDisguises");
if (LibDisguise != null) {
this.plugin.getLogger().info("Now hooking into LibsDisguises");
this.plugin.getServer().getPluginManager().registerEvents(this, this.plugin);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public void onPacketSending(PacketEvent event) {
}
}
});
this.plugin.getLogger().info("Now hooking into ProtocolLib");
} else {
return;
}
Expand Down

0 comments on commit e0abe4b

Please sign in to comment.