mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Some fix
Former-commit-id: 885cb1743b1ba9ba31b186a5924e25d0527bfbe9 [formerly 8840ba8ca9128019c33b3fd5a75d490227c01711] Former-commit-id: 79fad093f297299d9babdc4e8a56111c707c1a5a
This commit is contained in:
1 parent
216dc385aa
commit
044c2e3b06
4 files changed
+4
-3
No files matched your search
@@ -637,6 +637,7 @@ public class QS implements CommandExecutor{
|
||||
}
|
||||
if(pendingShops.size()==0) {
|
||||
sender.sendMessage(MsgUtil.getMessage("not-looking-at-shop"));
|
||||
return;
|
||||
}
|
||||
}else {
|
||||
sender.sendMessage(MsgUtil.getMessage("not-looking-at-shop"));
|
||||
|
||||
@@ -78,7 +78,7 @@ public class Tab implements TabCompleter {
|
||||
return tabList;
|
||||
}else if(args.length==3){
|
||||
if (args[1].equals("staff")&&sender.hasPermission("quickshop.staff")) {
|
||||
if(args[2].equals("add")||args.equals("del")) {
|
||||
if(args[2].equals("add")||args[2].equals("del")) {
|
||||
if(plugin.getConfig().getBoolean("include-offlineplayer-list")) {
|
||||
//Include
|
||||
for(OfflinePlayer offlinePlayer : Bukkit.getOfflinePlayers()) {
|
||||
|
||||
@@ -211,7 +211,7 @@ public class MsgUtil {
|
||||
messagei18n.set("shop-staff-added", "&aSuccessfully add {0} to your shop staffs.");
|
||||
messagei18n.set("shop-staff-deleted", "&aSuccessfully remove {0} to your shop staffs.");
|
||||
messagei18n.set("command.wrong-args", "&cParameters not matched, use /qs help to check help");
|
||||
messagei18n.set("command.description.staff", "&cManage your shop staffs.");
|
||||
messagei18n.set("command.description.staff", "&eManage your shop staffs.");
|
||||
messagei18n.set("unknown-player", "&cTarget player not exist, please check username your typed.");
|
||||
messagei18n.set("language-version", 12);
|
||||
selectedVersion = 12;
|
||||
|
||||
@@ -116,7 +116,7 @@ command:
|
||||
no-amount-given: "&cNo amount given. Use &a/qs refill <amount>&c"
|
||||
now-debuging: "&aSuccessfully switch to production mode, Reloading QuickShop..."
|
||||
now-nolonger-debuging: "&aSuccessfully switch to developer mode, Reloading QuickShop..."
|
||||
wrong-args: "&cParameter not matched, use /qs help to check help"
|
||||
wrong-args: "&cParameters not matched, use /qs help to check help"
|
||||
description:
|
||||
title: "&aQuickShop Help"
|
||||
unlimited: "&eMakes a shop unlimited"
|
||||
|
||||
Reference in new issue
Block a user