Fix typo in BungeeCord message key

This commit is contained in:
games647
2016-06-16 15:10:25 +02:00
parent 2881689f09
commit b009658eea
10 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<parent>
<groupId>com.github.games647</groupId>
<artifactId>fastlogin</artifactId>
<version>1.6</version>
<version>1.6.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
@@ -79,7 +79,7 @@ public class Storage {
ResultSet resultSet = null;
try {
con = dataSource.getConnection();
loadStmt = con.prepareStatement("SELECT * FROM " + PREMIUM_TABLE + " WHERE Name=?");
loadStmt = con.prepareStatement("SELECT * FROM " + PREMIUM_TABLE + " WHERE Name=? LIMIT 1");
loadStmt.setString(1, name);
resultSet = loadStmt.executeQuery();
@@ -120,7 +120,7 @@ public class Storage {
ResultSet resultSet = null;
try {
con = dataSource.getConnection();
loadStmt = con.prepareStatement("SELECT * FROM " + PREMIUM_TABLE + " WHERE UUID=?");
loadStmt = con.prepareStatement("SELECT * FROM " + PREMIUM_TABLE + " WHERE UUID=? LIMIT 1");
loadStmt.setString(1, uuid.toString().replace("-", ""));
resultSet = loadStmt.executeQuery();