File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
src/main/java/de/feelix/sierra/manager/init/impl/start Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ repositories {
25
25
}
26
26
27
27
dependencies {
28
- implementation(files(" depends/packetevents-585 .jar" ))
28
+ implementation(files(" depends/packetevents-619 .jar" ))
29
29
implementation(project(' :api' ))
30
30
implementation ' com.github.cryptomorin:XSeries:12.1.0'
31
31
implementation ' com.google.guava:guava:33.3.1-jre'
@@ -41,7 +41,7 @@ dependencies {
41
41
}
42
42
43
43
group = ' de.feelix.sierra'
44
- version = ' 1.5.2 '
44
+ version = ' 1.5.3 '
45
45
description = ' Sierra'
46
46
47
47
java. sourceCompatibility = JavaVersion . VERSION_1_8
Original file line number Diff line number Diff line change 3
3
import de .feelix .sierra .Sierra ;
4
4
import de .feelix .sierra .manager .init .Initable ;
5
5
import de .feelix .sierra .manager .storage .SierraDataManager ;
6
- import io .github .retrooper .packetevents .bstats .Metrics ;
6
+ import io .github .retrooper .packetevents .bstats .bukkit .Metrics ;
7
+ import io .github .retrooper .packetevents .bstats .charts .AdvancedPie ;
8
+ import io .github .retrooper .packetevents .bstats .charts .SingleLineChart ;
7
9
8
10
/**
9
11
* The InitBStats class is responsible for initializing the bStats metrics for the Sierra plugin.
@@ -26,25 +28,25 @@ public class InitBStats implements Initable {
26
28
*/
27
29
@ Override
28
30
public void start () {
29
- Metrics metrics = new Metrics (Sierra .getPlugin (), PLUGIN_ID );
31
+ Metrics metrics = new io . github . retrooper . packetevents . bstats . bukkit . Metrics (Sierra .getPlugin (), PLUGIN_ID );
30
32
31
- metrics .addCustomChart (new Metrics . SingleLineChart (
33
+ metrics .addCustomChart (new SingleLineChart (
32
34
"bans" ,
33
35
() -> {
34
36
int bans = SierraDataManager .BANS ;
35
37
SierraDataManager .BANS = 0 ;
36
38
return bans ;
37
39
}
38
40
));
39
- metrics .addCustomChart (new Metrics . SingleLineChart (
41
+ metrics .addCustomChart (new SingleLineChart (
40
42
"kicks" ,
41
43
() -> {
42
44
int kicks = SierraDataManager .KICKS ;
43
45
SierraDataManager .KICKS = 0 ;
44
46
return kicks ;
45
47
}
46
48
));
47
- metrics .addCustomChart (new Metrics . AdvancedPie (
49
+ metrics .addCustomChart (new AdvancedPie (
48
50
"active_check_types" ,
49
51
() -> SierraDataManager .violationCount
50
52
));
You can’t perform that action at this time.
0 commit comments