]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/blobdiff - src/main/java/com/irtimaled/bbor/client/gui/SelectableControlList.java
Setup for 1.16.3 Fabric
[BoundingBoxOutlineReloaded.git] / src / main / java / com / irtimaled / bbor / client / gui / SelectableControlList.java
index c202c91dc7e9e8e6f02ed9de7fa8e0a4867c18e9..0b8fe01387559c2f3c8bd9df9c6c5ed88e83b1dc 100644 (file)
@@ -2,6 +2,7 @@ package com.irtimaled.bbor.client.gui;
 
 import com.irtimaled.bbor.client.renderers.RenderHelper;
 import com.irtimaled.bbor.client.renderers.Renderer;
+import net.minecraft.client.util.math.MatrixStack;
 
 public class SelectableControlList extends ControlList {
     private final int listRight;
@@ -79,7 +80,7 @@ public class SelectableControlList extends ControlList {
     }
 
     @Override
-    protected void drawEntry(int mouseX, int mouseY, int top, ControlListEntry entry, int height) {
+    protected void drawEntry(MatrixStack matrixStack, int mouseX, int mouseY, int top, ControlListEntry entry, int height) {
         if (this.selectedElement == entry.index) {
             RenderHelper.disableTexture();
             int color = this.isFocused ? 255 : 128;
@@ -98,7 +99,7 @@ public class SelectableControlList extends ControlList {
                     .render();
             RenderHelper.enableTexture();
         }
-        super.drawEntry(mouseX, mouseY, top, entry, height);
+        super.drawEntry(matrixStack, mouseX, mouseY, top, entry, height);
     }
 
     @Override