Skip to content

Commit

Permalink
Update version to 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSchlueter committed Jul 19, 2024
1 parent 6fb65a7 commit 699b7cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runPaper.folia.registerTask()
allprojects {
group = "de.oliver"
val buildId = System.getenv("BUILD_ID")
version = "2.2.0" + (if (buildId != null) ".$buildId" else "")
version = "2.2.1" + (if (buildId != null) ".$buildId" else "")
description = "Simple, lightweight and fast NPC plugin using packets"

repositories {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/de/oliver/fancynpcs/FancyNpcs.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public void onEnable() {
metrics.addCustomChart(new Metrics.SimplePie("using_development_build", () -> isDevelopmentBuild ? "Yes" : "No"));

int randomRes = new Random(System.currentTimeMillis()).nextInt(100);
if (USE_FANCYANALYTICS_FEATURE_FLAG.isEnabled() || isDevelopmentBuild || randomRes < 33) {
if (USE_FANCYANALYTICS_FEATURE_FLAG.isEnabled() || isDevelopmentBuild || randomRes < 15) {
FancyAnalyticsAPI.setDisableLogging(true);
FancyAnalyticsAPI fancyAnalytics = new FancyAnalyticsAPI("34c5a33d-0ff0-48b1-8b1c-53620a690c6e", "ca2baf32-1fd2-4baa-a38a-f12ed8ab24a4", "Y7EP2jJjYWExZjdmMDkwNTQ5ZmRbIGUI");
fancyAnalytics.registerDefaultPluginMetrics(instance);
Expand Down

0 comments on commit 699b7cd

Please sign in to comment.