We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e55462b commit 1b0747dCopy full SHA for 1b0747d
plugin/src/main/kotlin/trplugins/menu/module/display/icon/Icon.kt
@@ -74,7 +74,7 @@ class Icon(
74
}
75
76
override fun settingItem(session: MenuSession, icon: IconProperty, lastMenuId: String?) {
77
- if (lastMenuId != null && session.menu?.id != lastMenuId && !isAvailable(session)) {
+ if (!isAvailable(session) || (lastMenuId != null && session.menu?.id != lastMenuId)) {
78
return
79
80
session.receptacle?.setElement(icon.display.get(session), position.currentPosition(session))
0 commit comments