mirror of
https://e.coding.net/circlecloud/CityBuild.git
synced 2024-11-21 10:48:49 +00:00
更新版本添加版本检查...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
parent
6abc21083e
commit
3b45e6ac01
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>cn.CityCraft</groupId>
|
||||
<artifactId>CityBuild</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>1.0</version>
|
||||
<name>CityBuild</name>
|
||||
<build>
|
||||
<finalName>${project.name}</finalName>
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user