mirror of
https://github.com/Artillex-Studios/AxMinions.git
synced 2025-02-09 00:02:39 +01:00
Fix
This commit is contained in:
parent
c638876aa2
commit
9fcce2d37e
@ -394,7 +394,7 @@ class H2DataHandler : DataHandler {
|
||||
|
||||
override fun getIsland(island: String): Int {
|
||||
dataSource.connection.use { connection ->
|
||||
connection.prepareStatement("SELECT `placed` FROM `axminions_island_counter` WHERE `island` = ?").use { statement ->
|
||||
connection.prepareStatement("SELECT `placed` FROM `axminions_island_counter` WHERE `island` = ?;").use { statement ->
|
||||
statement.executeQuery().use { resultSet ->
|
||||
if (resultSet.next()) {
|
||||
return resultSet.getInt("placed")
|
||||
|
Loading…
Reference in New Issue
Block a user