Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-19 09:20:08 +01:00
Removed metrics from API
We shouldn't have exposed it in the first place.
Dieser Commit ist enthalten in:
Ursprung
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;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren