Skip to content

Commit

Permalink
Update gradle and Exposed
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdragh committed Feb 9, 2024
1 parent d2af63f commit ef176d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import com.mojang.authlib.GameProfile
import dev.erdragh.astralbot.LOGGER
import dev.erdragh.astralbot.baseDirectory
import dev.erdragh.astralbot.config.AstralBotConfig
import dev.erdragh.astralbot.handlers.WhitelistHandler.WhitelistedUser
import net.dv8tion.jda.api.entities.User
import net.minecraft.network.chat.Component
import org.jetbrains.exposed.sql.*
Expand Down Expand Up @@ -229,7 +228,7 @@ object WhitelistHandler {
* @return the login code of the given user or `null` if there isn't
* one for them yet.
*/
fun getWhitelistCode(minecraftID: UUID): Int? = synchronized(loginCodes) {
private fun getWhitelistCode(minecraftID: UUID): Int? = synchronized(loginCodes) {
return loginCodes.entries.find { it.value == minecraftID }?.key
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ forgeConfigAPIVersion=8.0.0
jdaVersion=5.0.0-beta.20

# Database Interactions
exposedVersion=0.46.0
exposedVersion=0.47.0
sqliteJDBCVersion=3.44.1.0
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit ef176d6

Please sign in to comment.