Get Player #136
@ -21,6 +21,8 @@ package de.steamwar.sql;
|
||||
|
||||
import de.steamwar.core.Core;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
@ -122,4 +124,8 @@ public class SteamwarUser {
|
||||
}, id);
|
||||
return user;
|
||||
}
|
||||
|
||||
public static SteamwarUser get(Player player) {
|
||||
return get(player.getUniqueId());
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren