Skip to content

Commit

Permalink
remove bstatsg
Browse files Browse the repository at this point in the history
  • Loading branch information
KasperFranz committed Oct 26, 2020
1 parent aac12ad commit 31ded3b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1,000 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ This project adheres to [Semantic Versioning](http://semver.org/ ), and followin
### Fixed
- Fixed the log messages around edit/delete chunkloaders #37
- Fixed a crash with bstats #44
- Removed bstats #44


## 2020-09-30 3.8.0
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/net/kaikk/mc/bcl/BetterChunkLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import net.kaikk.mc.bcl.datastore.DataStoreManager;
import net.kaikk.mc.bcl.datastore.MySqlDataStore;
import net.kaikk.mc.bcl.forgelib.BCLForgeLib;
import shadow.org.bstats.sponge.Metrics2;
import org.slf4j.Logger;
import org.spongepowered.api.Sponge;
import org.spongepowered.api.command.args.GenericArguments;
Expand Down Expand Up @@ -48,7 +47,6 @@
)
public class BetterChunkLoader {
private static BetterChunkLoader instance;
private Metrics2 metrics;
@Inject
private Logger logger;
@Inject
Expand All @@ -58,12 +56,11 @@ public class BetterChunkLoader {
public boolean enabled = false;

@Inject
public BetterChunkLoader(Metrics2.Factory metricsFactory){
public BetterChunkLoader(){
if (instance != null){
throw new IllegalStateException("Plugin cannot be instantiated twice");
}

metrics = metricsFactory.make(BetterChunkLoaderPluginInfo.BSTATS_PLUGIN_ID);
instance = this;
}

Expand Down
50 changes: 0 additions & 50 deletions src/main/java/shadow/org/bstats/sponge/Metrics.java

This file was deleted.

Loading

0 comments on commit 31ded3b

Please sign in to comment.