aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/MylesAndMore/tumble/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/MylesAndMore/tumble/commands')
-rw-r--r--src/main/java/com/MylesAndMore/tumble/commands/StartGame.java19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/main/java/com/MylesAndMore/tumble/commands/StartGame.java b/src/main/java/com/MylesAndMore/tumble/commands/StartGame.java
index aad4b9e..85fd705 100644
--- a/src/main/java/com/MylesAndMore/tumble/commands/StartGame.java
+++ b/src/main/java/com/MylesAndMore/tumble/commands/StartGame.java
@@ -12,7 +12,6 @@ import org.bukkit.entity.Player;
import java.util.List;
public class StartGame implements CommandExecutor {
- // Define the startGame method so that other classes can refrence it
public void startGame(CommandSender sender, String[] args) {
// Check if sender has perms to run command
if (sender.hasPermission("tumble.start")) {
@@ -60,24 +59,6 @@ public class StartGame implements CommandExecutor {
}
}
- public void sendWorld() {
- // Create Locations to scatter players around the first layer
-
- // While there are still players in the lobby, send them to the gameWorld
- // This is just a way of sending everybody in the lobby to the game
- for (List<Player> playersInLobby = TumbleManager.getPlayersInLobby(); playersInLobby.size() > 0; playersInLobby = TumbleManager.getPlayersInLobby()) {
- // Get a singular player from the player list
- Player aPlayer = playersInLobby.get(0);
- // Teleport that player to the spawn of the gameWorld
- aPlayer.teleport(Bukkit.getWorld(TumbleManager.getGameWorld()).getSpawnLocation());
- }
-
- // Add a little break because it can take the clients a bit to load into the new world
- // Then, transition to another method because this one is getting really long
- // In that method: set a flag to monitor the playerDeathEvent so we know when all the players have died
- // Also start music
- }
-
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
startGame(sender, args);