Fix NEI search overlays rendering on hidden slots (#1674)

This commit is contained in:
Kogepan229 authored and GitHub committed 2026-10-01 11:35:38 +02:00
1 parent be4e421073
commit ce2824ee64
1 file changed
+4
@@ -914,6 +914,10 @@ public abstract class AEBaseGui extends GuiContainer implements IGuiTooltipHandl
* Draw slot
*/
public void func_146977_a(final Slot s) {
if (s instanceof AppEngSlot aeSlot && !aeSlot.shouldDisplay()) {
return;
}
if (s instanceof SlotFake slotFake) {
this.drawSlotWithAEFont(slotFake);
return;