Skip to content

Commit

Permalink
Fully remove metrics.
Browse files Browse the repository at this point in the history
  • Loading branch information
t00thpick1 authored and riking committed Dec 22, 2017
1 parent 00e18d4 commit 9957ca4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
10 changes: 0 additions & 10 deletions src/main/java/com/gmail/nossr50/config/AutoUpdateConfigLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration;

import com.gmail.nossr50.metrics.MetricsManager;

public abstract class AutoUpdateConfigLoader extends ConfigLoader {
public AutoUpdateConfigLoader(String relativePath, String fileName) {
super(relativePath, fileName);
Expand Down Expand Up @@ -116,13 +114,5 @@ else if (line.contains(":")) {
e.printStackTrace();
}
}
else {
for (String key : configKeys) {
if (!config.isConfigurationSection(key) && !config.get(key).equals(internalConfig.get(key))) {
MetricsManager.customConfig();
break;
}
}
}
}
}
5 changes: 0 additions & 5 deletions src/main/java/com/gmail/nossr50/util/ChimaeraWing.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import com.gmail.nossr50.config.Config;
import com.gmail.nossr50.datatypes.player.McMMOPlayer;
import com.gmail.nossr50.locale.LocaleLoader;
import com.gmail.nossr50.metrics.MetricsManager;
import com.gmail.nossr50.runnables.items.ChimaeraWingWarmup;
import com.gmail.nossr50.util.player.UserManager;
import com.gmail.nossr50.util.skills.CombatUtils;
Expand Down Expand Up @@ -135,10 +134,6 @@ public static void chimaeraExecuteTeleport() {
mcMMOPlayer.actualizeChimeraWingLastUse();
mcMMOPlayer.setTeleportCommenceLocation(null);

if (Config.getInstance().getStatsTrackingEnabled()) {
MetricsManager.chimeraWingUsed();
}

if (Config.getInstance().getChimaeraSoundEnabled()) {
player.playSound(location, Sound.BAT_TAKEOFF, Misc.BAT_VOLUME, Misc.BAT_PITCH);
}
Expand Down

0 comments on commit 9957ca4

Please sign in to comment.