mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-12-31 21:07:47 +01:00
execute batch as a batch
This commit is contained in:
parent
2ab971d278
commit
1c4487d848
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user