Adds the proper update check URL and updates version to 1.0.1

This commit is contained in:
Kristian Knarvik 2022-01-22 23:44:04 +01:00
parent 0217b3b3ba
commit a155f85fa3
3 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<groupId>net.knarcraft</groupId> <groupId>net.knarcraft</groupId>
<artifactId>PermissionSigns</artifactId> <artifactId>PermissionSigns</artifactId>
<version>1.0</version> <version>1.0.1</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>PermissionSigns</name> <name>PermissionSigns</name>

View File

@ -179,7 +179,8 @@ public final class PermissionSigns extends JavaPlugin {
SignManager.loadSigns(); SignManager.loadSigns();
PermissionManager.loadTemporaryPermissions(); PermissionManager.loadTemporaryPermissions();
UpdateChecker.checkForUpdate(this, "", () -> pluginVersion, null); UpdateChecker.checkForUpdate(this, "https://api.spigotmc.org/legacy/update.php?resource=99426",
() -> pluginVersion, null);
} }
/** /**

View File

@ -1,5 +1,5 @@
name: PermissionSigns name: PermissionSigns
version: 1.0 version: 1.0.1
main: net.knarcraft.permissionsigns.PermissionSigns main: net.knarcraft.permissionsigns.PermissionSigns
api-version: 1.18 api-version: 1.18
prefix: PermissionSigns prefix: PermissionSigns