mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-23 18:55:25 +01:00
Ternary
This commit is contained in:
parent
d93a0b16cc
commit
9d73339e14
@ -300,10 +300,7 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator {
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
if (getPlayer() == null) {
|
||||
return getId();
|
||||
}
|
||||
return getPlayer().getName();
|
||||
return getPlayer() != null ? getPlayer().getName() : getId();
|
||||
}
|
||||
|
||||
public String getTag() {
|
||||
|
Loading…
Reference in New Issue
Block a user