From 3b45e6ac011e8b3698020e728ca91468f61ab0e5 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Wed, 25 Nov 2015 15:52:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=89=88=E6=9C=AC=E6=A3=80=E6=9F=A5...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- pom.xml | 2 +- src/main/java/cn/citycraft/CityBuild/CityBuild.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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")