mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-13 06:05:36 +01:00
updated bStats to 1.7
This commit is contained in:
parent
efaa9ce56e
commit
0bd2c1b730
@ -4,6 +4,7 @@
|
||||
- Changed description for hotkeys in config.yml
|
||||
- Updated French translation
|
||||
- Updated Chinese (Traditional) translation
|
||||
- Updated bStats to version 1.7
|
||||
|
||||
## 7.6
|
||||
- Added automatic inventory sorting (disabled by default). Can be activated by using /invsort on
|
||||
|
2
pom.xml
2
pom.xml
@ -95,7 +95,7 @@
|
||||
<dependency>
|
||||
<groupId>org.bstats</groupId>
|
||||
<artifactId>bstats-bukkit</artifactId>
|
||||
<version>1.6</version>
|
||||
<version>1.7</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
@ -359,8 +359,8 @@ public class JeffChestSortPlugin extends JavaPlugin {
|
||||
|
||||
private void registerMetrics() {
|
||||
// Metrics will need json-simple with 1.14 API.
|
||||
//Metrics bStats = new Metrics(this,3089); // Metrics will need plugin ID with bStats 1.7+
|
||||
Metrics bStats = new Metrics(this);
|
||||
Metrics bStats = new Metrics(this,3089);
|
||||
|
||||
bStats.addCustomChart(new Metrics.SimplePie("sorting_method", () -> sortingMethod));
|
||||
bStats.addCustomChart(new Metrics.SimplePie("config_version",
|
||||
() -> Integer.toString(getConfig().getInt("config-version", 0))));
|
||||
@ -392,12 +392,6 @@ public class JeffChestSortPlugin extends JavaPlugin {
|
||||
bStats.addCustomChart(new Metrics.SimplePie("hotkey_shift_right_click",
|
||||
() -> Boolean.toString(getConfig().getBoolean("hotkeys.shift-right-click"))));
|
||||
|
||||
// try {
|
||||
// MetricsLite mcstats = new MetricsLite(this);
|
||||
// mcstats.start();
|
||||
// } catch (IOException e) {
|
||||
//
|
||||
// }
|
||||
}
|
||||
|
||||
// Saves default category files, when enabled in the config
|
||||
|
Loading…
Reference in New Issue
Block a user