mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
delegate CommandSource#playerUuid impl in GeyserSession
This commit is contained in:
parent
cc94227b6e
commit
c92ae75331
1 changed files with 3 additions and 3 deletions
|
|
@ -1431,12 +1431,12 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public @NonNull UUID playerUuid() {
|
public UUID playerUuid() {
|
||||||
return playerEntity.getUuid();
|
return javaUuid(); // CommandSource allows nullable
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public @NonNull GeyserSession connection() {
|
public GeyserSession connection() {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue