Preserve the retained House fallback class bytes
This commit is contained in:
parent
ba79bc0b98
commit
c7c390972d
1 changed files with 1 additions and 2 deletions
|
|
@ -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<Integer,Runnable> actions,BooleanSupplier showCards){
|
||||
static boolean presentHouseCards(Inventory inventory,Map<Integer,Runnable> 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<CENTRES.length;i++){
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff