Removed metrics from API

We shouldn't have exposed it in the first place.
Dieser Commit ist enthalten in:
MattBDev 2020-01-15 17:20:40 -05:00
Ursprung 2d5a8ce573
Commit da7c21d32a
3 geänderte Dateien mit 3 neuen und 11 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

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