DB updater use correct classloader

This commit is contained in:
James Seibel
2026-01-10 08:21:09 -06:00
parent db95951ade
commit df63401d11
@@ -173,7 +173,7 @@ public class DatabaseUpdater
/** @throws NullPointerException if any of the script files failed to be read. */
private static ArrayList<SqlScript> getAutoUpdateScripts() throws NullPointerException, IOException
{
final ClassLoader loader = Thread.currentThread().getContextClassLoader();
final ClassLoader loader = DatabaseUpdater.class.getClassLoader();
// get the script list