Skip to content

Commit

Permalink
feat: bump ido
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Oct 27, 2024
1 parent 2755ea2 commit 87ae789
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ object EmojyCommands {
emojy.plugin.commands {
"emojy" {
"list" {
requiresPermission("")
executes {
val emotes = emojy.emotes.filter { it.checkPermission(sender as? Player) && it !in emojyConfig.emojyList.ignoredEmotes }.toSet()
val gifs = emojy.gifs.filter { it.checkPermission(sender as? Player) && it !in emojyConfig.emojyList.ignoredGifs }.toSet()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ data class Gifs(val gifs: Set<Gif> = mutableSetOf()) {
@Transient val baseRegex = "(?<!\\\\):$id:".toRegex()
@Transient val escapedRegex = "\\\\:$id:".toRegex()

@Transient val gifFile = emojy.plugin.dataFolder.resolve("gifs/${id}.gif").apply { mkdirs() }
val gifFile by lazy { emojy.plugin.dataFolder.resolve("gifs/${id}.gif").apply { mkdirs() } }
private var aspectRatio by Delegates.notNull<Float>()

enum class GifType {
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.9
idofrontVersion=0.25.16
idofrontVersion=0.25.17-dev.2

0 comments on commit 87ae789

Please sign in to comment.