diff --git a/pom.xml b/pom.xml index f118a7d..97785db 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 pw.yumc TeleportRandom - 1.3.1 + 1.3.2 TeleportRandom ${project.name} @@ -59,6 +59,7 @@ &a代码重构版本 + &b1.3.2 - &c修复上个版本的空指针错误...; &b1.3.1 - &c修复上个版本一个逻辑错误...; &b1.3 - &c修复传送世界限制(区分大小写)...; diff --git a/src/main/java/pw/yumc/TeleportRandom/TeleportRandom.java b/src/main/java/pw/yumc/TeleportRandom/TeleportRandom.java index 4aeff6c..da34189 100644 --- a/src/main/java/pw/yumc/TeleportRandom/TeleportRandom.java +++ b/src/main/java/pw/yumc/TeleportRandom/TeleportRandom.java @@ -8,7 +8,6 @@ import org.bukkit.Material; import org.bukkit.World; import org.bukkit.block.Block; import org.bukkit.command.Command; -import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; @@ -16,7 +15,7 @@ import org.bukkit.plugin.java.JavaPlugin; import cn.citycraft.PluginHelper.config.FileConfig; import cn.citycraft.PluginHelper.utils.VersionChecker; -public class TeleportRandom extends JavaPlugin implements CommandExecutor { +public class TeleportRandom extends JavaPlugin { public final static Random rr = new Random(); public static FileConfig config; diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 169bed1..7faaa5c 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -3,7 +3,7 @@ description: ${project.description} main: ${project.groupId}.${project.artifactId}.${project.artifactId} version: ${project.version}-git-${env.GIT_COMMIT} authors: [喵♂呜] -website: ${jenkins.url}/job/${project.artifactId}/ +website: ${ciManagement.url} commands: tpr: description: 随机传送插件命令