From c7c390972d74557347503b98aaf5400e21d0069c Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Mon, 30 Nov 2026 23:24:31 +0100 Subject: [PATCH] Preserve the retained House fallback class bytes --- DuneRealmsGUI/src/main/java/com/dunerealms/gui/DuneGUI.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DuneRealmsGUI/src/main/java/com/dunerealms/gui/DuneGUI.java b/DuneRealmsGUI/src/main/java/com/dunerealms/gui/DuneGUI.java index 8a855f8a..9bdbae99 100644 --- a/DuneRealmsGUI/src/main/java/com/dunerealms/gui/DuneGUI.java +++ b/DuneRealmsGUI/src/main/java/com/dunerealms/gui/DuneGUI.java @@ -18,7 +18,6 @@ import org.bukkit.persistence.PersistentDataType; import org.bukkit.plugin.java.JavaPlugin; import java.time.*; import java.util.*; -import java.util.function.BooleanSupplier; import java.util.function.Consumer; /** Lobby presentation only. Character authority and committed keys remain central. */ @@ -270,7 +269,7 @@ public final class DuneGUI extends JavaPlugin implements Listener,CommandExecuto ()->MCGUIMenus.show(p,"Choose your House","",screen.inventory,screen.actions,screen.gate)))return; p.openInventory(screen.inventory);expire(screen); } - static boolean presentHouseCards(Inventory inventory,Map actions,BooleanSupplier showCards){ + static boolean presentHouseCards(Inventory inventory,Map actions,java.util.function.BooleanSupplier showCards){ if(showCards.getAsBoolean())return true; // Only the chest fallback needs a multi-slot hit area for each background tile. for(int i=0;i