mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-07 04:53:00 +00:00
Fixed null pointers for getUUID
This commit is contained in:
parent
d0876c60b0
commit
e0adcb3b60
6 changed files with 27 additions and 3 deletions
|
@ -219,7 +219,7 @@ import java.util.UUID;
|
|||
|
||||
private String getPlayerName(final UUID uuid) {
|
||||
if (uuid == null) {
|
||||
return uuid.toString();
|
||||
return "unknown";
|
||||
}
|
||||
if (uuid.equals(DBFunc.everyone) || uuid.toString().equalsIgnoreCase(DBFunc.everyone.toString())) {
|
||||
return "everyone";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue