mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Catch statement already being null
This commit is contained in:
parent
dae7bbdf9d
commit
3e8308ecd7
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||
task.set(statement);
|
||||
task.addBatch(statement);
|
||||
try {
|
||||
if (statement.isClosed()) {
|
||||
if (statement != null && statement.isClosed()) {
|
||||
statement = null;
|
||||
}
|
||||
} catch (AbstractMethodError ignore) {
|
||||
|
|
Loading…
Reference in a new issue