Disables the update checker of the nbt-api library

This commit is contained in:
Christian Koop 2024-01-30 17:17:16 +01:00
parent a4b7e2d28d
commit 29f2d0b643
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3

View File

@ -40,9 +40,9 @@ public abstract class SongodaPlugin extends JavaPlugin {
private boolean emergencyStop = false; private boolean emergencyStop = false;
static { static {
/* NBT-API */
MinecraftVersion.getLogger().setLevel(Level.WARNING); MinecraftVersion.getLogger().setLevel(Level.WARNING);
// Disable tips and logo for Jooq MinecraftVersion.disableUpdateCheck();
System.setProperty("org.jooq.no-tips", "true"); System.setProperty("org.jooq.no-tips", "true");
System.setProperty("org.jooq.no-logo", "true"); System.setProperty("org.jooq.no-logo", "true");
} }