Fix my goof
This commit is contained in:
parent
1780923501
commit
5e5b607fc8
@ -4,6 +4,7 @@ import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.SQLException;
|
||||
|
||||
import mineplex.core.common.util.UtilTasks;
|
||||
import mineplex.core.database.MinecraftRepository;
|
||||
import mineplex.serverdata.database.DBPool;
|
||||
import mineplex.serverdata.database.RepositoryBase;
|
||||
@ -39,7 +40,9 @@ public class AnticheatDatabase extends RepositoryBase
|
||||
finally
|
||||
{
|
||||
if (after != null)
|
||||
after.run();
|
||||
{
|
||||
UtilTasks.onMainThread(after).run();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user