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:
parent
8eb47ee111
commit
3e221e9f3c
3
pom.xml
3
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>pw.yumc</groupId>
|
||||
<artifactId>TeleportRandom</artifactId>
|
||||
<version>1.3.1</version>
|
||||
<version>1.3.2</version>
|
||||
<name>TeleportRandom</name>
|
||||
<build>
|
||||
<finalName>${project.name}</finalName>
|
||||
@ -59,6 +59,7 @@
|
||||
<properties>
|
||||
<update.description>&a代码重构版本</update.description>
|
||||
<update.changes>
|
||||
&b1.3.2 - &c修复上个版本的空指针错误...;
|
||||
&b1.3.1 - &c修复上个版本一个逻辑错误...;
|
||||
&b1.3 - &c修复传送世界限制(区分大小写)...;
|
||||
</update.changes>
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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: 随机传送插件命令
|
||||
|
Loading…
Reference in New Issue
Block a user