isXander / YetAnotherConfigLib

YetAnotherConfigLib (yacl) is just that. A builder-based configuration library for Minecraft.
GNU Lesser General Public License v3.0
96 stars 36 forks source link

`renderBackgroundTexture` called incorrectly in YACLScreen#render #135

Open Qendolin opened 9 months ago

Qendolin commented 9 months ago

renderBackgroundTexture is called twice during screen rendering. Once directly by YACL: https://github.com/isXander/YetAnotherConfigLib/blob/450dbad49b72b37cdeef9b1358a59da1d66076c9/common/src/main/java/dev/isxander/yacl3/gui/YACLScreen.java#L88-L91 an another time in

YACLScreen#render
  Screen#render
    Screen#renderBackground
      Screen#renderBackgroundTexture

This doesn't cause an issue within yacl itself, but when overriding the method.