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