mirror of
https://e.coding.net/circlecloud/TeleportRandom.git
synced 2024-11-01 07:38:47 +00:00
fix: 修复CD无效
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
74edabcf86
commit
a25c7e4501
3
pom.xml
3
pom.xml
@ -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.4.1</version>
|
<version>1.4.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>&a代码重构版本</update.description>
|
<update.description>&a代码重构版本</update.description>
|
||||||
<update.changes>
|
<update.changes>
|
||||||
|
&b1.4.2 - &c修复CD只提示无限制的BUG...;
|
||||||
&b1.4.1 - &c修复AIOOBE错误...;
|
&b1.4.1 - &c修复AIOOBE错误...;
|
||||||
&b1.4 - &a添加命令CD...;
|
&b1.4 - &a添加命令CD...;
|
||||||
&b1.3.2 - &c修复上个版本的空指针错误...;
|
&b1.3.2 - &c修复上个版本的空指针错误...;
|
||||||
|
@ -90,6 +90,7 @@ public class TeleportRandom extends JavaPlugin implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
if (!p.hasPermission("tpr.nocd") && cd.contains(p.getName())) {
|
if (!p.hasPermission("tpr.nocd") && cd.contains(p.getName())) {
|
||||||
p.sendMessage(getPrefix() + config.getMessage("Message.CD"));
|
p.sendMessage(getPrefix() + config.getMessage("Message.CD"));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (!config.getStringList("AllowWorld").contains(world.getName())) {
|
if (!config.getStringList("AllowWorld").contains(world.getName())) {
|
||||||
p.sendMessage(getPrefix() + config.getMessage("Message.NoPermWorld"));
|
p.sendMessage(getPrefix() + config.getMessage("Message.NoPermWorld"));
|
||||||
|
Loading…
Reference in New Issue
Block a user