Skip to content

Commit

Permalink
chore: bump ido & geary
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Aug 8, 2024
1 parent b7371f4 commit f80dd1b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ object ChattyBrigadierCommands {
gearyPlayer.remove<CommandSpy>()
player.sendFormattedMessage(chatty.messages.spying.commandSpyOff)
} else {
gearyPlayer.getOrSetPersisting { CommandSpy() }
gearyPlayer.getOrSetPersisting<CommandSpy> { CommandSpy() }
player.sendFormattedMessage(chatty.messages.spying.commandSpyOn)
}
}
Expand All @@ -143,7 +143,7 @@ object ChattyBrigadierCommands {
player.sendFormattedMessage(chatty.messages.channels.noChannelWithName)
return@playerExecutes
}
val spy = player.toGeary().getOrSetPersisting { SpyOnChannels() }
val spy = player.toGeary().getOrSetPersisting<SpyOnChannels> { SpyOnChannels() }

when {
channel.channelType == ChannelType.GLOBAL ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PlayerListener : Listener {
@EventHandler(priority = EventPriority.NORMAL)
fun PlayerJoinEvent.onJoin() {
val gearyPlayer = player.toGeary()
gearyPlayer.getOrSetPersisting { ChannelData() }
gearyPlayer.getOrSetPersisting<ChannelData> { ChannelData() }
if (chatty.config.join.enabled && !gearyPlayer.has<HideJoinLeave>())
joinMessage(translatePlaceholders(player, chatty.messages.joinLeave.joinMessage).miniMsg(player.buildTagResolver(true)))
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group=com.mineinabyss
version=0.8
idofrontVersion=0.24.5
idofrontVersion=0.24.21
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
geary = "0.30.1"
geary = "0.30.10"
velocity = "3.3.0-SNAPSHOT"
discordsrv = "1.27.0"
discordsrv = "1.28.0"
placeholderapi = "2.11.6"
imageloader = "1.1-SNAPSHOT"

Expand Down

0 comments on commit f80dd1b

Please sign in to comment.