We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c427bac commit f43f034Copy full SHA for f43f034
1 file changed
src/main/java/org/polyfrost/glintcolorizer/mixin/RenderItemMixin_ShinyEffect.java
@@ -89,7 +89,7 @@ public abstract class RenderItemMixin_ShinyEffect {
89
if (RenderItemHook.INSTANCE.isPotionGlintEnabled() && RenderItemHook.INSTANCE.isRenderingInGUI() && RenderItemHook.INSTANCE.isPotionItem()) {
90
return !GlintConfig.INSTANCE.getPotionGlintForeground() && !GlintConfig.INSTANCE.getPotionGlintBackground();
91
}
92
- return instance.hasEffect();
+ return instance.getItem() != null && instance.hasEffect();
93
94
95
@Inject(
0 commit comments