mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-05 14:33:44 +00:00
Merge pull request #100 from HeyAwesomePeople/patch-1
Updated Commands.java
This commit is contained in:
commit
30aa3a8606
1 changed files with 1 additions and 1 deletions
|
@ -793,8 +793,8 @@ public class Commands {
|
|||
s.sendMessage(ChatColor.GREEN + "You are running a lookup of an offline player, this may take a second.");
|
||||
ResultSet rs2 = DBConnection.sql.readQuery("SELECT * FROM pk_players WHERE player = '" + args[1] + "'");
|
||||
try {
|
||||
UUID uuid = UUID.fromString(rs2.getString("uuid"));
|
||||
if (rs2.next()) {
|
||||
UUID uuid = UUID.fromString(rs2.getString("uuid"));
|
||||
String element = rs2.getString("element");
|
||||
s.sendMessage(args[1] + " - ");
|
||||
if (element.contains("a")) {
|
||||
|
|
Loading…
Reference in a new issue