diff --git a/pom.xml b/pom.xml index 4f45e51..23be100 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 cn.CityCraft CityBuild - 0.0.1-SNAPSHOT + 1.0 CityBuild ${project.name} diff --git a/src/main/java/cn/citycraft/CityBuild/CityBuild.java b/src/main/java/cn/citycraft/CityBuild/CityBuild.java index 4fe2fe0..e9ecc81 100644 --- a/src/main/java/cn/citycraft/CityBuild/CityBuild.java +++ b/src/main/java/cn/citycraft/CityBuild/CityBuild.java @@ -15,6 +15,7 @@ import org.bukkit.plugin.java.JavaPlugin; import cn.citycraft.CityBuild.listen.Build; import cn.citycraft.PluginHelper.config.FileConfig; +import cn.citycraft.PluginHelper.utils.VersionChecker; public class CityBuild extends JavaPlugin implements CommandExecutor { public FileConfig config; @@ -83,6 +84,7 @@ public class CityBuild extends JavaPlugin implements CommandExecutor { public void onEnable() { Bukkit.getPluginManager().registerEvents(new Build(this), this); getLogger().info(pluginname + "城市世界建筑保护已加载!"); + new VersionChecker(this); } @SuppressWarnings("unchecked")