Ignore Bau Add requests #118
@ -21,6 +21,7 @@ package de.steamwar.bungeecore;
|
||||
|
||||
import de.steamwar.bungeecore.commands.EventCommand;
|
||||
import de.steamwar.bungeecore.sql.EventFight;
|
||||
import de.steamwar.bungeecore.sql.IgnoreSystem;
|
||||
import de.steamwar.bungeecore.sql.SteamwarUser;
|
||||
import net.md_5.bungee.api.ProxyServer;
|
||||
import net.md_5.bungee.api.chat.ClickEvent;
|
||||
@ -208,6 +209,8 @@ public class SubserverSystem {
|
||||
ProxiedPlayer o = ProxyServer.getInstance().getPlayer(owner);
|
||||
if(o == null)
|
||||
return;
|
||||
if(IgnoreSystem.isIgnored(SteamwarUser.get(owner), SteamwarUser.get(p)))
|
||||
return;
|
||||
|
||||
BungeeCore.send(o, BungeeCore.CHAT_PREFIX + "§e" + p.getName() + " §7möchte auf deine Bauwelt.");
|
||||
BungeeCore.send(o, "§7Klicke §ehier§7, wenn du das erlauben möchtest.",
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren