Fix my goof

This commit is contained in:
samczsun 2017-02-09 07:19:46 -05:00 committed by cnr
parent 1780923501
commit 5e5b607fc8

View File

@ -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();
}
}
}
}