mirror of
https://e.coding.net/circlecloud/TeleportRandom.git
synced 2025-12-26 02:56:05 +00:00
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"));
|
||||||
|
|||||||
Reference in New Issue
Block a user