From f0a836306bc72835394a6e04d3f00f5a6c7f66aa Mon Sep 17 00:00:00 2001 From: miozune Date: Sun, 22 Sep 2024 17:43:52 +0900 Subject: [PATCH] Fix dedicated server crash on GUI open Close https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/17402 --- .../java/com/cleanroommc/modularui/screen/ModularContainer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cleanroommc/modularui/screen/ModularContainer.java b/src/main/java/com/cleanroommc/modularui/screen/ModularContainer.java index 9f8cd29b..fccb7fc6 100644 --- a/src/main/java/com/cleanroommc/modularui/screen/ModularContainer.java +++ b/src/main/java/com/cleanroommc/modularui/screen/ModularContainer.java @@ -44,7 +44,7 @@ public static ModularContainer getCurrent(EntityPlayer player) { private ContainerCustomizer containerCustomizer; @SideOnly(Side.CLIENT) - private ModularScreen optionalScreen = null; + private ModularScreen optionalScreen; public ModularContainer(EntityPlayer player, PanelSyncManager panelSyncManager, String mainPanelName) { this.player = player;