1
0
mirror of https://e.coding.net/circlecloud/TeleportRandom.git synced 2024-11-01 07:38:47 +00:00

feat: 修复上个版本的空指针错误

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-07-19 09:19:05 +08:00
parent 8eb47ee111
commit 3e221e9f3c
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>pw.yumc</groupId> <groupId>pw.yumc</groupId>
<artifactId>TeleportRandom</artifactId> <artifactId>TeleportRandom</artifactId>
<version>1.3.1</version> <version>1.3.2</version>
<name>TeleportRandom</name> <name>TeleportRandom</name>
<build> <build>
<finalName>${project.name}</finalName> <finalName>${project.name}</finalName>
@ -59,6 +59,7 @@
<properties> <properties>
<update.description>&amp;a代码重构版本</update.description> <update.description>&amp;a代码重构版本</update.description>
<update.changes> <update.changes>
&amp;b1.3.2 - &amp;c修复上个版本的空指针错误...;
&amp;b1.3.1 - &amp;c修复上个版本一个逻辑错误...; &amp;b1.3.1 - &amp;c修复上个版本一个逻辑错误...;
&amp;b1.3 - &amp;c修复传送世界限制(区分大小写)...; &amp;b1.3 - &amp;c修复传送世界限制(区分大小写)...;
</update.changes> </update.changes>

View File

@ -8,7 +8,6 @@ import org.bukkit.Material;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.block.Block; import org.bukkit.block.Block;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin; 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.config.FileConfig;
import cn.citycraft.PluginHelper.utils.VersionChecker; 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 final static Random rr = new Random();
public static FileConfig config; public static FileConfig config;

View File

@ -3,7 +3,7 @@ description: ${project.description}
main: ${project.groupId}.${project.artifactId}.${project.artifactId} main: ${project.groupId}.${project.artifactId}.${project.artifactId}
version: ${project.version}-git-${env.GIT_COMMIT} version: ${project.version}-git-${env.GIT_COMMIT}
authors: [喵♂呜] authors: [喵♂呜]
website: ${jenkins.url}/job/${project.artifactId}/ website: ${ciManagement.url}
commands: commands:
tpr: tpr:
description: 随机传送插件命令 description: 随机传送插件命令