mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Language files issues, Need regen
Former-commit-id: 8aebb3633d81edccb932cd88fb79754993b7b07b
This commit is contained in:
1 parent
14747f9147
commit
3f9c879a5a
3 files changed
+9
-4
No files matched your search
@@ -335,7 +335,7 @@ public class QS implements CommandExecutor {
|
||||
sender.sendMessage(MsgUtil.getMessage("no-permission"));
|
||||
}
|
||||
} else {
|
||||
sender.sendMessage(MsgUtil.getMessage("not-looking-at-shop"));
|
||||
sender.sendMessage(MsgUtil.getMessage("no-anythings-in-your-hand"));
|
||||
}
|
||||
} else {
|
||||
sender.sendMessage("This command can't be run by console");
|
||||
|
||||
@@ -441,7 +441,9 @@ public class MsgUtil {
|
||||
public static String getMessage(String loc, String... args) {
|
||||
String raw = messages.getString(loc);
|
||||
if (raw == null) {
|
||||
return "Invalid message: " + loc;
|
||||
return "Invalid message: " + loc+" Please update your messages.yml";
|
||||
|
||||
|
||||
}
|
||||
if (raw.isEmpty()) {
|
||||
return "";
|
||||
|
||||
Reference in new issue
Block a user