Skip to content

Commit

Permalink
Upgrade to Solstice 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ale32bit committed Jan 10, 2025
1 parent b165416 commit 9b32755
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.20.1+build.10
loader_version=0.16.9

# Mod Properties
mod_version=1.8.3
mod_version=1.8.4
maven_group=cc.reconnected
archives_base_name=rcc-chatbox

Expand All @@ -18,7 +18,7 @@ fabric_version=0.92.2+1.20.1

rcclibrary_version=1.0.0
rccdiscord_version=1.8.1
solstice_version=1.0.0+1.20.1
solstice_version=1.4.1+1.20.1

permissions_api_version=0.2-SNAPSHOT

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package cc.reconnected.chatbox.integrations;

import me.alexdevs.solstice.Solstice;
import me.alexdevs.solstice.modules.afk.AfkModule;

import java.util.UUID;

public class SolsticeIntegration {

public static boolean isPlayerAfk(UUID player) {
return Solstice.modules.afk.isPlayerAfk(player);
var afkModule = Solstice.modules.getModule(AfkModule.class);
return afkModule.isPlayerAfk(player);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import cc.reconnected.chatbox.utils.DateUtils;
import me.alexdevs.solstice.api.events.PlayerActivityEvents;
import me.alexdevs.solstice.api.events.RestartEvents;
import me.alexdevs.solstice.modules.timebar.TimeBar;
import me.alexdevs.solstice.modules.timeBar.TimeBar;
import org.jetbrains.annotations.Nullable;

import java.time.Duration;
Expand Down

0 comments on commit 9b32755

Please sign in to comment.