mirror of
https://github.com/kiranhart/Auction-House.git
synced 2025-03-14 13:39:19 +01:00
❌ Only enable the update checker by default if the server project isn't unknown.
Took 14 minutes
This commit is contained in:
parent
b512221b6a
commit
aec92eba0c
@ -310,7 +310,7 @@ public class AuctionHouse extends TweetyPlugin {
|
||||
}
|
||||
|
||||
// update check
|
||||
if (Settings.UPDATE_CHECKER.getBoolean())
|
||||
if (Settings.UPDATE_CHECKER.getBoolean() && ServerProject.getServerVersion() != ServerProject.UNKNOWN)
|
||||
getServer().getScheduler().runTaskLaterAsynchronously(this, () -> this.status = new UpdateChecker(this, 60325, getConsole()).check().getStatus(), 1L);
|
||||
|
||||
// metrics
|
||||
|
Loading…
Reference in New Issue
Block a user