mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 09:17:39 +00:00
Removed metrics from API
We shouldn't have exposed it in the first place.
This commit is contained in:
parent
2d5a8ce573
commit
da7c21d32a
@ -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) {
|
||||
|
@ -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);
|
||||
|
@ -27,8 +27,6 @@ public interface IFawe {
|
||||
|
||||
Collection<FaweMaskManager> getMaskManagers();
|
||||
|
||||
void startMetrics();
|
||||
|
||||
default ImageViewer getImageViewer(Player player) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user