mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 16:05:00 +00:00
forgot to remove this
This commit is contained in:
parent
64c587627f
commit
d335149c3c
1 changed files with 5 additions and 23 deletions
|
@ -134,15 +134,9 @@ public class GuildCommand extends Common implements CommandExecutor, TabComplete
|
|||
}
|
||||
|
||||
case "tp":
|
||||
{
|
||||
for (Player player : Bukkit.getOnlinePlayers())
|
||||
{
|
||||
if (guild.getMembers().contains(player.getName()))
|
||||
{
|
||||
return guild.getMembers();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
case "disband":
|
||||
{
|
||||
|
@ -155,26 +149,16 @@ public class GuildCommand extends Common implements CommandExecutor, TabComplete
|
|||
}
|
||||
|
||||
case "kick":
|
||||
{
|
||||
for (Player player : Bukkit.getOnlinePlayers())
|
||||
{
|
||||
if (guild.getOnlyMembers().contains(player.getName()))
|
||||
{
|
||||
if (guild.hasModerator(sender.getName()))
|
||||
{
|
||||
return guild.getOnlyMembers();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
case "removemod":
|
||||
case "addmod":
|
||||
case "setowner":
|
||||
{
|
||||
for (Player player : Bukkit.getOnlinePlayers())
|
||||
{
|
||||
if (guild.getMembers().contains(player.getName()))
|
||||
{
|
||||
if (guild.getOwner().equals(sender.getName()))
|
||||
{
|
||||
|
@ -183,8 +167,6 @@ public class GuildCommand extends Common implements CommandExecutor, TabComplete
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue