mirror of
https://github.com/5vl/CorePlugin.git
synced 2025-05-23 21:37:01 +00:00
1.1.1
Changed the update message.
This commit is contained in:
parent
f42573385d
commit
a211613ed2
@ -18,7 +18,6 @@ import org.bukkit.plugin.java.JavaPlugin;
|
|||||||
|
|
||||||
public final class Core extends JavaPlugin {
|
public final class Core extends JavaPlugin {
|
||||||
private static Core instance;
|
private static Core instance;
|
||||||
public String updatemsg;
|
|
||||||
String version = this.getDescription().getVersion();
|
String version = this.getDescription().getVersion();
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
@ -34,7 +33,7 @@ public final class Core extends JavaPlugin {
|
|||||||
if (this.getDescription().getVersion().equalsIgnoreCase(version)) {
|
if (this.getDescription().getVersion().equalsIgnoreCase(version)) {
|
||||||
Logger.log(Logger.LogLevel.SUCCESS, "Core Plugin is up to date.");
|
Logger.log(Logger.LogLevel.SUCCESS, "Core Plugin is up to date.");
|
||||||
} else {
|
} else {
|
||||||
Logger.log(Logger.LogLevel.ERROR, "Plugin is out of date, please download the new version at https://www.spigotmc.org/resources/core-plugin.87756/");
|
Logger.log(Logger.LogLevel.ERROR, "Plugin is out of date, please download the new version at: https://www.spigotmc.org/resources/core-plugin.87756/ If this is a recently released version, the spigot API might not have updated.");
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: CorePlugin
|
name: CorePlugin
|
||||||
version: 1.1.0
|
version: 1.1.1
|
||||||
main: coreplugin.coreplugin.Core
|
main: coreplugin.coreplugin.Core
|
||||||
api-version: 1.16
|
api-version: 1.16
|
||||||
authors: [ 5vl ]
|
authors: [ 5vl ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user