--- a/net/minecraft/client/gui/components/PopupScreen.java
+++ b/net/minecraft/client/gui/components/PopupScreen.java
@@ -69,8 +69,7 @@
 
         this.layout.addChild(new MultiLineTextWidget(this.message, this.font).setMaxWidth(this.contentWidth).setCentered(true));
         this.layout.addChild(this.buildButtonRow());
-        this.layout.visitWidgets(p_321353_ -> {
-        });
+        this.layout.visitWidgets(this::addRenderableWidget);
         this.repositionElements();
     }
 
