1
0
mirror of https://e.coding.net/circlecloud/QuickShop.git synced 2024-12-28 07:58:49 +00:00

fix command permission error...

Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
j502647092 2015-10-18 12:01:28 +08:00
parent 714ce2fa32
commit b409fcc32f
4 changed files with 4 additions and 3 deletions

View File

@ -19,8 +19,8 @@ public class CommandBuy extends BaseCommand {
public CommandBuy(final QuickShop plugin) {
super("buy");
this.plugin = plugin;
setPermission("quickshop.create.buy");
setOnlyPlayerExecutable();
setPermission("quickshop.create.buy");
setDescription(MsgUtil.p("command.description.buy"));
}

View File

@ -19,7 +19,7 @@ public class CommandEmpty extends BaseCommand {
public CommandEmpty(final QuickShop plugin) {
super("empty");
this.plugin = plugin;
setPermission("quickshop.refill");
setPermission("quickshop.empty");
setDescription(MsgUtil.p("command.description.empty"));
}

View File

@ -19,6 +19,7 @@ public class CommandUnlimited extends BaseCommand {
super("unlimited");
this.plugin = plugin;
setOnlyPlayerExecutable();
setPermission("quickshop.unlimited");
setDescription(MsgUtil.p("command.description.unlimited"));
}

View File

@ -1,4 +1,4 @@
Version: 1.2
Version: 1.4
not-looking-at-shop: '&c没找到快捷商店. 你必须看着那个商店.'
no-permission: '&4你没有此命令的权限.'