Skip to content

Commit 31ded3b

Browse files
committed
remove bstatsg
1 parent aac12ad commit 31ded3b

File tree

4 files changed

+2
-1000
lines changed

4 files changed

+2
-1000
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ This project adheres to [Semantic Versioning](http://semver.org/ ), and followin
2424
### Fixed
2525
- Fixed the log messages around edit/delete chunkloaders #37
2626
- Fixed a crash with bstats #44
27+
- Removed bstats #44
2728

2829

2930
## 2020-09-30 3.8.0

src/main/java/net/kaikk/mc/bcl/BetterChunkLoader.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import net.kaikk.mc.bcl.datastore.DataStoreManager;
2020
import net.kaikk.mc.bcl.datastore.MySqlDataStore;
2121
import net.kaikk.mc.bcl.forgelib.BCLForgeLib;
22-
import shadow.org.bstats.sponge.Metrics2;
2322
import org.slf4j.Logger;
2423
import org.spongepowered.api.Sponge;
2524
import org.spongepowered.api.command.args.GenericArguments;
@@ -48,7 +47,6 @@
4847
)
4948
public class BetterChunkLoader {
5049
private static BetterChunkLoader instance;
51-
private Metrics2 metrics;
5250
@Inject
5351
private Logger logger;
5452
@Inject
@@ -58,12 +56,11 @@ public class BetterChunkLoader {
5856
public boolean enabled = false;
5957

6058
@Inject
61-
public BetterChunkLoader(Metrics2.Factory metricsFactory){
59+
public BetterChunkLoader(){
6260
if (instance != null){
6361
throw new IllegalStateException("Plugin cannot be instantiated twice");
6462
}
6563

66-
metrics = metricsFactory.make(BetterChunkLoaderPluginInfo.BSTATS_PLUGIN_ID);
6764
instance = this;
6865
}
6966

src/main/java/shadow/org/bstats/sponge/Metrics.java

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)