mirror of
https://github.com/EpicEricEE/ShopChest.git
synced 2024-12-02 23:43:45 +01:00
Update bStats to 2.1.0
This commit is contained in:
parent
d88d32f939
commit
dbcae797db
@ -51,7 +51,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.bstats</groupId>
|
<groupId>org.bstats</groupId>
|
||||||
<artifactId>bstats-bukkit</artifactId>
|
<artifactId>bstats-bukkit</artifactId>
|
||||||
<version>1.7</version>
|
<version>2.1.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zaxxer</groupId>
|
<groupId>com.zaxxer</groupId>
|
||||||
|
@ -12,6 +12,7 @@ import com.google.gson.JsonObject;
|
|||||||
import com.google.gson.JsonParser;
|
import com.google.gson.JsonParser;
|
||||||
|
|
||||||
import org.bstats.bukkit.Metrics;
|
import org.bstats.bukkit.Metrics;
|
||||||
|
import org.bstats.charts.SimplePie;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandMap;
|
import org.bukkit.command.CommandMap;
|
||||||
import org.bukkit.command.SimpleCommandMap;
|
import org.bukkit.command.SimpleCommandMap;
|
||||||
@ -116,8 +117,8 @@ public class ShopChestImpl extends ShopChest {
|
|||||||
|
|
||||||
private void loadMetrics() {
|
private void loadMetrics() {
|
||||||
Metrics metrics = new Metrics(this, 1726);
|
Metrics metrics = new Metrics(this, 1726);
|
||||||
metrics.addCustomChart(new Metrics.SimplePie("database_type", () -> Config.DATABASE_TYPE.get().toString()));
|
metrics.addCustomChart(new SimplePie("database_type", () -> Config.DATABASE_TYPE.get().toString()));
|
||||||
metrics.addCustomChart(new Metrics.SimplePie("creative_setting", () ->
|
metrics.addCustomChart(new SimplePie("creative_setting", () ->
|
||||||
Config.FEATURES_CREATIVE_ITEM_SELECTION.get() ? "Enabled" : "Disabled"));
|
Config.FEATURES_CREATIVE_ITEM_SELECTION.get() ? "Enabled" : "Disabled"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user