Package net.playeranalytics.plan.version
Class FabricVersionChecker
java.lang.Object
com.djrapitops.plan.version.VersionChecker
net.playeranalytics.plan.version.FabricVersionChecker
- All Implemented Interfaces:
SubSystem
System for checking if new Version is available when the System initializes, altering the link for Fabric.
-
Field Summary
Fields inherited from class com.djrapitops.plan.version.VersionChecker
config, currentVersion, errorLogger, locale, logger, newVersionAvailable, runnableFactory
-
Constructor Summary
ConstructorDescriptionFabricVersionChecker
(String currentVersion, Locale locale, PlanConfig config, net.playeranalytics.plugin.server.PluginLogger logger, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, ErrorLogger errorLogger) -
Method Summary
Methods inherited from class com.djrapitops.plan.version.VersionChecker
disable, enable, getCurrentVersion, getCurrentVersionButton, getUpdateButton, getUpdateModal, isNewVersionAvailable, loadVersionInfo
-
Constructor Details
-
FabricVersionChecker
@Inject public FabricVersionChecker(@Named("currentVersion") String currentVersion, Locale locale, PlanConfig config, net.playeranalytics.plugin.server.PluginLogger logger, net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory, ErrorLogger errorLogger)
-
-
Method Details
-
getNewVersionAvailable
- Overrides:
getNewVersionAvailable
in classVersionChecker
-