execute batch as a batch

This commit is contained in:
jascotty2 2019-08-19 04:34:29 -05:00
parent 2ab971d278
commit 1c4487d848
1 changed files with 0 additions and 1 deletions

View File

@ -36,7 +36,6 @@ public class DataManager {
for (SpawnerStack spawnerStack : spawnerStacks) {
statement.setInt(1, spawnerStack.getAmount());
statement.setInt(2, spawnerStack.getId());
statement.executeUpdate();
statement.addBatch();
}