Skip to content

Commit

Permalink
Fix ProtocolLib hooks package names.
Browse files Browse the repository at this point in the history
  • Loading branch information
asofold committed Jan 30, 2015
1 parent c0de7d0 commit eacd09b
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -38,10 +38,10 @@ private void register(Plugin plugin) {
StaticLog.logInfo("Adding packet level hooks for ProtocolLib (MC " + ProtocolLibrary.getProtocolManager().getMinecraftVersion().getVersion() + ")...");
// Register Classes having a constructor with Plugin as argument.
if (ConfigManager.isTrueForAnyConfig(ConfPaths.NET_FLYINGFREQUENCY_ACTIVE)) {
register("fr.neatmonster.nocheatplus.net.protocollib.FlyingFrequency", plugin);
register("fr.neatmonster.nocheatplus.checks.net.protocollib.FlyingFrequency", plugin);
}
if (ConfigManager.isTrueForAnyConfig(ConfPaths.NET_SOUNDDISTANCE_ACTIVE)) {
register("fr.neatmonster.nocheatplus.net.protocollib.SoundDistance", plugin);
register("fr.neatmonster.nocheatplus.checks.net.protocollib.SoundDistance", plugin);
}
if (!registeredPacketAdapters.isEmpty()) {
List<String> names = new ArrayList<String>(registeredPacketAdapters.size());
Expand Down

0 comments on commit eacd09b

Please sign in to comment.