geforkt von SteamWar/BungeeCore
Command-Permission-Updated
Dieser Commit ist enthalten in:
Ursprung
42cbf18c27
Commit
d9efeefd2b
@ -24,10 +24,7 @@ public class ChallengeCommand extends BasicCommand {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(sender instanceof ProxiedPlayer)) {
|
||||
BungeeCore.send(sender, BungeeCore.CHAT_PREFIX + "You cant run this from the Console..");
|
||||
return;
|
||||
}
|
||||
if (!(sender instanceof ProxiedPlayer)) {return;}
|
||||
|
||||
ProxiedPlayer target = ProxyServer.getInstance().getPlayer(args[0]);
|
||||
if(target == null){
|
||||
|
@ -9,7 +9,7 @@ import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
public class IgnoreCommand extends BasicCommand {
|
||||
|
||||
public IgnoreCommand() {
|
||||
super("ignore", "steamwar.ignore");
|
||||
super("ignore", null);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -21,7 +21,7 @@ public class IgnoreCommand extends BasicCommand {
|
||||
BungeeCore.send(p, BungeeCore.CHAT_PREFIX + "§cDieser Spieler ist derzeit nicht online!");
|
||||
return;
|
||||
}else if(target.equals(p)){
|
||||
BungeeCore.send(p, BungeeCore.CHAT_PREFIX + "§cWie willst du dich selber Ignorieren?");
|
||||
BungeeCore.send(p, BungeeCore.CHAT_PREFIX + "§cWie willst du dich selber ignorieren?");
|
||||
return;
|
||||
}else {
|
||||
IgnoreSystem.ignore(p.getUniqueId(), target.getUniqueId());
|
||||
|
@ -9,7 +9,7 @@ import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||
public class UnIgnoreCommand extends BasicCommand {
|
||||
|
||||
public UnIgnoreCommand() {
|
||||
super("unignore", "steamwar.ignore");
|
||||
super("unignore", null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren