Skip to content

Commit

Permalink
feat: use player displayname component to create gamemode update packet
Browse files Browse the repository at this point in the history
  • Loading branch information
Syrent committed Feb 9, 2024
1 parent 5199e59 commit fd7920e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ class VanishManager(
true,
player.ping,
GameTypeAccessor.getMethodByName1().invoke(null, gameMode.name.lowercase()),
null,
MinecraftComponentSerializer.get().serialize(player.displayName()),
null
)
)
Expand Down

0 comments on commit fd7920e

Please sign in to comment.