@@ -23,7 +23,7 @@ public BingoGameGUIManager(UltimateBingo ultimateBingo) {
23
23
optionsMap = new HashMap <>();
24
24
optionsMap .put ("difficulty" , new String []{"easy" , "normal" , "hard" });
25
25
optionsMap .put ("cardSize" , new String []{"small" , "medium" , "large" });
26
- optionsMap .put ("gameMode" , new String []{"speedrun" , "traditional" });
26
+ optionsMap .put ("gameMode" , new String []{"speedrun" , "traditional" , "potionmadness" });
27
27
optionsMap .put ("uniqueCard" , new String []{"unique" , "identical" });
28
28
optionsMap .put ("fullCard" , new String []{"full card" , "single row" });
29
29
optionsMap .put ("revealCards" , new String []{"enabled" , "disabled" });
@@ -87,6 +87,9 @@ public void toggleGameMode(Player player) {
87
87
ultimateBingo .gameMode = "speedrun" ;
88
88
break ;
89
89
case "speedrun" :
90
+ ultimateBingo .gameMode = "potionmadness" ;
91
+ break ;
92
+ case "potionmadness" :
90
93
ultimateBingo .gameMode = "random" ;
91
94
break ;
92
95
case "random" :
@@ -335,6 +338,8 @@ private Material setGUIIcon(String type) {
335
338
} else if (type .equalsIgnoreCase ("gamemode" )) {
336
339
if (ultimateBingo .gameMode .equalsIgnoreCase ("speedrun" )) {
337
340
materialToDisplay = Material .DIAMOND_BOOTS ;
341
+ } else if (ultimateBingo .gameMode .equalsIgnoreCase ("potionmadness" )) {
342
+ materialToDisplay = Material .POTION ;
338
343
} else if (ultimateBingo .gameMode .equalsIgnoreCase ("random" )) {
339
344
materialToDisplay = Material .LADDER ;
340
345
} else {
0 commit comments