mirror of
https://e.coding.net/circlecloud/JumpPlate.git
synced 2024-12-28 07:49:11 +00:00
版本升级 调整权限...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
parent
42a299ea4a
commit
00f78588ad
4
pom.xml
4
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>cn.citycraft</groupId>
|
<groupId>cn.citycraft</groupId>
|
||||||
<artifactId>JumpPlate</artifactId>
|
<artifactId>JumpPlate</artifactId>
|
||||||
<version>1.0</version>
|
<version>1.1</version>
|
||||||
<name>JumpPlate</name>
|
<name>JumpPlate</name>
|
||||||
<build>
|
<build>
|
||||||
<finalName>${project.name}</finalName>
|
<finalName>${project.name}</finalName>
|
||||||
@ -54,7 +54,7 @@
|
|||||||
</build>
|
</build>
|
||||||
<properties>
|
<properties>
|
||||||
<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
|
<jenkins.url>http://ci.citycraft.cn:8080</jenkins.url>
|
||||||
<update.description></update.description>
|
<update.description>&c修复跳板权限问题...</update.description>
|
||||||
<update.changes></update.changes>
|
<update.changes></update.changes>
|
||||||
<env.GIT_COMMIT>DEBUG</env.GIT_COMMIT>
|
<env.GIT_COMMIT>DEBUG</env.GIT_COMMIT>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
@ -43,7 +43,7 @@ public class JumpPlate extends JavaPlugin implements Listener, HandlerCommands {
|
|||||||
final Block loc_1 = gb.add(0.0D, -1.0D, 0.0D).getBlock();
|
final Block loc_1 = gb.add(0.0D, -1.0D, 0.0D).getBlock();
|
||||||
final Block loc_2 = gb.add(0.0D, -1.0D, 0.0D).getBlock();
|
final Block loc_2 = gb.add(0.0D, -1.0D, 0.0D).getBlock();
|
||||||
if (loc_1.getType() == Material.GLASS && loc_2.getType() == Material.LAPIS_BLOCK && ml.contains(loc.getType())) {
|
if (loc_1.getType() == Material.GLASS && loc_2.getType() == Material.LAPIS_BLOCK && ml.contains(loc.getType())) {
|
||||||
if (p.hasPermission("JumpPlate.reload")) {
|
if (p.hasPermission("JumpPlate.create")) {
|
||||||
p.sendMessage(pluginname + config.getMessage("create"));
|
p.sendMessage(pluginname + config.getMessage("create"));
|
||||||
} else {
|
} else {
|
||||||
e.setCancelled(true);
|
e.setCancelled(true);
|
||||||
|
@ -15,6 +15,9 @@ permissions:
|
|||||||
${project.artifactId}.use:
|
${project.artifactId}.use:
|
||||||
description: ${project.artifactId} 使用!
|
description: ${project.artifactId} 使用!
|
||||||
default: true
|
default: true
|
||||||
|
${project.artifactId}.create:
|
||||||
|
description: 创建跳板权限!
|
||||||
|
default: op
|
||||||
${project.artifactId}.reload:
|
${project.artifactId}.reload:
|
||||||
description: 重新载入插件!
|
description: 重新载入插件!
|
||||||
default: op
|
default: op
|
Loading…
Reference in New Issue
Block a user