mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-25 08:11:20 +01:00
parent
a13b2c9070
commit
02d18df559
@ -81,7 +81,10 @@ public class ChestShopSign {
|
||||
if (player == null) return false;
|
||||
if (sign == null) return true;
|
||||
|
||||
return NameManager.canUseName(player, sign.getLine(NAME_LINE));
|
||||
String name = sign.getLine(NAME_LINE);
|
||||
if (name == null || name.isEmpty()) return true;
|
||||
|
||||
return NameManager.canUseName(player, name);
|
||||
}
|
||||
|
||||
public static boolean isValidPreparedSign(String[] lines) {
|
||||
|
Loading…
Reference in New Issue
Block a user