Fix window builder open handlers not being added to window

This commit is contained in:
NichtStudioCode 2023-07-02 12:50:40 +02:00
parent f57fb6de38
commit cb320140b6

@ -547,6 +547,9 @@ public abstract class AbstractWindow implements Window, GuiParent {
}
protected void applyModifiers(W window) {
if (openHandlers != null)
window.setOpenHandlers(openHandlers);
if (closeHandlers != null)
window.setCloseHandlers(closeHandlers);