mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +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.addBatch(statement);
|
||||
try {
|
||||
if (statement.isClosed()) {
|
||||
if (statement != null && statement.isClosed()) {
|
||||
statement = null;
|
||||
}
|
||||
} catch (AbstractMethodError ignore) {
|
||||
|
Loading…
Reference in New Issue
Block a user