mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-16 13:45:55 -05:00
Fix a bug in lang.java
Former-commit-id: ce6d658535278178b57a344f78f7be450d27de7a
This commit is contained in:
1 parent
452b918b79
commit
4585fec55f
1 file changed
+1
-1
@@ -75,7 +75,7 @@ public class Lang {
|
||||
* @return Formatted text
|
||||
*/
|
||||
public String format(@Nullable String raw, @Nullable CommandSender sender, @Nullable String... args) {
|
||||
if (StringUtils.isEmpty(raw)) {
|
||||
if (StringUtils.isNotEmpty(raw)) {
|
||||
for (Formatter formatter : formatters) {
|
||||
raw = formatter.format(raw, sender, args);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user