Fix /kp spawn still executing if not in an arena world
This commit is contained in:
1 parent
77d6e4bbe0
commit
bd53366b4c
1 file changed
+1
@@ -351,6 +351,7 @@ public class MainCommand implements CommandExecutor {
|
||||
private void executeSpawnCommand(Player p) {
|
||||
if (!config.contains("Arenas." + p.getWorld().getName())) {
|
||||
p.sendMessage(messages.fetchString("Messages.Error.Arena").replace("%arena%", p.getWorld().getName()));
|
||||
return;
|
||||
}
|
||||
|
||||
if (spawnUsers.contains(p.getName())) {
|
||||
|
||||
Reference in new issue
Block a user