fixed some shit
This commit is contained in:
parent
1b022e25a9
commit
b14bf16bc5
@ -41,16 +41,7 @@ public class PlayAGameMenu extends Menu {
|
||||
Player player = (Player) event.getWhoClicked();
|
||||
|
||||
if (event.getView().getTitle().equalsIgnoreCase(CC.translate("&eSelect a game to play..."))) {
|
||||
switch (event.getCurrentItem().getType()) {
|
||||
case WOOD_SWORD:
|
||||
break;
|
||||
case STONE_SWORD:
|
||||
break;
|
||||
case IRON_SWORD:
|
||||
break;
|
||||
case DIAMOND_SWORD:
|
||||
break;
|
||||
}
|
||||
this.main.getQueueManager().addPlayerToQueue(player, BedWars.getInstance().getPlayerDataManager().getPlayerData(player.getUniqueId()), this.gameType);
|
||||
|
||||
player.closeInventory();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user