fixed some shit

This commit is contained in:
Trixkz 2021-11-22 07:33:47 -05:00
parent 1b022e25a9
commit b14bf16bc5

View File

@ -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();
}