mirror of
https://e.coding.net/circlecloud/QuickShop.git
synced 2024-11-22 01:58:54 +00:00
fix command permission error...
Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
parent
714ce2fa32
commit
b409fcc32f
@ -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"));
|
||||
}
|
||||
|
||||
|
@ -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"));
|
||||
}
|
||||
|
||||
|
@ -19,6 +19,7 @@ public class CommandUnlimited extends BaseCommand {
|
||||
super("unlimited");
|
||||
this.plugin = plugin;
|
||||
setOnlyPlayerExecutable();
|
||||
setPermission("quickshop.unlimited");
|
||||
setDescription(MsgUtil.p("command.description.unlimited"));
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Version: 1.2
|
||||
Version: 1.4
|
||||
|
||||
not-looking-at-shop: '&c没找到快捷商店. 你必须看着那个商店.'
|
||||
no-permission: '&4你没有此命令的权限.'
|
||||
|
Loading…
Reference in New Issue
Block a user