diff --git a/.idea/TFGuilds.iml b/.idea/TFGuilds.iml index 9953d75..a5f2b44 100644 --- a/.idea/TFGuilds.iml +++ b/.idea/TFGuilds.iml @@ -19,14 +19,6 @@ - - - - - - - - @@ -36,6 +28,12 @@ + + + + + + @@ -66,6 +64,7 @@ + @@ -85,6 +84,7 @@ + diff --git a/pom.xml b/pom.xml index 41961bb..9538f1a 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ me.totalfreedom TFGuilds - 0.2.18 + 0.3.0 jar TFGuilds diff --git a/src/main/java/me/totalfreedom/tfguilds/command/TFGuildsCommand.java b/src/main/java/me/totalfreedom/tfguilds/command/TFGuildsCommand.java index 295db80..217ec7a 100644 --- a/src/main/java/me/totalfreedom/tfguilds/command/TFGuildsCommand.java +++ b/src/main/java/me/totalfreedom/tfguilds/command/TFGuildsCommand.java @@ -49,7 +49,7 @@ public class TFGuildsCommand extends Common implements CommandExecutor OfflinePlayer sp = Bukkit.getOfflinePlayer(UUID.fromString("d018f2b8-ce60-4672-a45f-e580e0331299")); OfflinePlayer su = Bukkit.getOfflinePlayer(UUID.fromString("53b1512e-3481-4702-9f4f-63cb9c8be6a1")); sender.sendMessage(tl("%s%Developed by %p%" + sp.getName() + " & " + su.getName())); - sender.sendMessage(tl("%s%https://github.com/TFPatches/TFGuilds")); + sender.sendMessage(tl("%s%https://github.com/AtlasMediaGroup/TFGuilds")); return true; } } \ No newline at end of file diff --git a/src/main/java/me/totalfreedom/tfguilds/sql/SQLRankData.java b/src/main/java/me/totalfreedom/tfguilds/sql/SQLRankData.java index d5aeae3..1071f6f 100644 --- a/src/main/java/me/totalfreedom/tfguilds/sql/SQLRankData.java +++ b/src/main/java/me/totalfreedom/tfguilds/sql/SQLRankData.java @@ -48,7 +48,7 @@ public class SQLRankData statement.setString(1, guildIdentifier); statement.setString(2, identifier); ResultSet set = statement.executeQuery(); - set.next(); + if (!set.next()) return null; String name = set.getString("name"); List members = new ArrayList<>(); if (set.getString("members") != null)