mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +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();
|
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) {
|
||||||
|
@ -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);
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user