Skip to content

Commit

Permalink
Fix player.getName()
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSlimeDiamond committed Jun 30, 2023
1 parent 4986582 commit 37f63e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ public void setGamemode(Gamemode gamemode) {

@Override
public String getName() {
return serverPlayer.getName().toString().strip();
return serverPlayer.getName().getContents().strip();
}
}

0 comments on commit 37f63e4

Please sign in to comment.