Make IItemDecorator a functional interface again. Fixes #9563 (#9574)

This commit is contained in:
Sara Freimer authored and GitHub committed 2023-06-20 14:02:11 -07:00
1 parent af8900a748
commit 4d9df706b0
1 file changed
+1 -3
@@ -24,7 +24,5 @@ public interface IItemDecorator
* The RenderState during this call will be: enableTexture, enableDepthTest, enableBlend and defaultBlendFunc
* @return true if you have modified the RenderState and it has to be reset for other ItemDecorators
*/
default boolean render(GuiGraphics guiGraphics, Font font, ItemStack stack, int xOffset, int yOffset) {
return false;
}
boolean render(GuiGraphics guiGraphics, Font font, ItemStack stack, int xOffset, int yOffset);
}