Skip to content

Commit

Permalink
fix: probably only want to check lightly
Browse files Browse the repository at this point in the history
  • Loading branch information
darbyjack committed Jan 18, 2024
1 parent d8b2fb3 commit 7a4b86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/me/glaremasters/guilds/guis/ListGUI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class ListGUI(private val guilds: Guilds, private val settingsManager: SettingsM
val defaultUrl = settingsManager.getProperty(GuildListSettings.GUILD_LIST_HEAD_DEFAULT_URL)
val useDefaultUrl = settingsManager.getProperty(GuildListSettings.USE_DEFAULT_TEXTURE)

val item = if (!useDefaultUrl && guild.skull !== null && guild.guildSkull !== null) {
val item = if (!useDefaultUrl && guild.skull != null && guild.guildSkull != null) {
guild.skull
} else {
GuildSkull(defaultUrl).itemStack
Expand Down

0 comments on commit 7a4b86a

Please sign in to comment.