mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Catch statement already being null
This commit is contained in:
parent
dae7bbdf9d
commit
3e8308ecd7
@ -351,7 +351,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||||||
task.set(statement);
|
task.set(statement);
|
||||||
task.addBatch(statement);
|
task.addBatch(statement);
|
||||||
try {
|
try {
|
||||||
if (statement.isClosed()) {
|
if (statement != null && statement.isClosed()) {
|
||||||
statement = null;
|
statement = null;
|
||||||
}
|
}
|
||||||
} catch (AbstractMethodError ignore) {
|
} catch (AbstractMethodError ignore) {
|
||||||
|
Loading…
Reference in New Issue
Block a user