Fix AntiBauAddMemberFix
Dieser Commit ist enthalten in:
Ursprung
e4dc05ce02
Commit
338980f0d3
@ -24,6 +24,7 @@ import de.steamwar.linkage.Linked;
|
||||
import de.steamwar.sql.BauweltMember;
|
||||
import de.steamwar.sql.SteamwarUser;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.player.PlayerJoinEvent;
|
||||
|
||||
@ -31,7 +32,7 @@ import org.bukkit.event.player.PlayerJoinEvent;
|
||||
public class AntiBauAddMemberFix implements Listener {
|
||||
|
||||
|
||||
@EventHandler
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
public void onPlayerJoin(PlayerJoinEvent event) {
|
||||
if (event.getPlayer().getUniqueId().equals(BauServer.getInstance().getOwner())) {
|
||||
return;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren