Removed metrics from API

We shouldn't have exposed it in the first place.
This commit is contained in:
MattBDev 2020-01-15 17:20:40 -05:00
parent 2d5a8ce573
commit da7c21d32a
3 changed files with 3 additions and 11 deletions

View File

@ -102,6 +102,9 @@ public class FaweBukkit implements IFawe, Listener {
new ChunkListener_9();
}
});
//Start Metrics
new Metrics(plugin);
}
@Override // Please don't delete this again, it's WIP
@ -180,10 +183,6 @@ public class FaweBukkit implements IFawe, Listener {
return BukkitAdapter.adapt(player);
}
@Override public void startMetrics() {
new Metrics(plugin);
}
public ItemUtil getItemUtil() {
ItemUtil tmp = itemUtil;
if (tmp == null) {

View File

@ -190,11 +190,6 @@ public class Fawe {
WEManager.IMP.managers.add(new PlotSquaredFeature());
log.debug("Plugin 'PlotSquared' found. Using it now.");
} catch (Throwable ignored) {}
try {
imp().startMetrics();
} catch (Throwable e) {
debug(e.getMessage());
}
}, 0);
TaskManager.IMP.repeat(timer, 1);

View File

@ -27,8 +27,6 @@ public interface IFawe {
Collection<FaweMaskManager> getMaskManagers();
void startMetrics();
default ImageViewer getImageViewer(Player player) {
return null;
}