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
|
||||
public @NonNull UUID playerUuid() {
|
||||
return playerEntity.getUuid();
|
||||
public UUID playerUuid() {
|
||||
return javaUuid(); // CommandSource allows nullable
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NonNull GeyserSession connection() {
|
||||
public GeyserSession connection() {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue