summaryrefslogtreewikicommitdiff
path: root/src/main/java/net/tylermurphy/hideAndSeek/command/Reload.java
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2021-10-17 22:52:57 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2021-10-17 22:52:57 -0400
commitd37ad3fc4500cf4d35db718bdaf964bad03840e4 (patch)
treeee3506b113bf347e64dfac50930b688eed781453 /src/main/java/net/tylermurphy/hideAndSeek/command/Reload.java
parentfixed possible exception on player join (diff)
downloadkenshinshideandseek-d37ad3fc4500cf4d35db718bdaf964bad03840e4.tar.gz
kenshinshideandseek-d37ad3fc4500cf4d35db718bdaf964bad03840e4.tar.bz2
kenshinshideandseek-d37ad3fc4500cf4d35db718bdaf964bad03840e4.zip
lobby bug fixes, titles, game time
Diffstat (limited to 'src/main/java/net/tylermurphy/hideAndSeek/command/Reload.java')
-rw-r--r--src/main/java/net/tylermurphy/hideAndSeek/command/Reload.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/net/tylermurphy/hideAndSeek/command/Reload.java b/src/main/java/net/tylermurphy/hideAndSeek/command/Reload.java
index d333f6c..438ab26 100644
--- a/src/main/java/net/tylermurphy/hideAndSeek/command/Reload.java
+++ b/src/main/java/net/tylermurphy/hideAndSeek/command/Reload.java
@@ -1,6 +1,5 @@
package net.tylermurphy.hideAndSeek.command;
-import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@@ -25,10 +24,6 @@ public class Reload implements ICommand {
} catch(Exception e) {}
sender.sendMessage(messagePrefix + "Reloaded the config");
playerList = new HashMap<String,Player>();
- if(!lobbyManualJoin) {
- for(Player p : Bukkit.getOnlinePlayers())
- playerList.put(p.getName(), p);
- }
}
public String getLabel() {