actually make the discord user uuid something that is not 00000000-0000-0000-0000-000000000000

This commit is contained in:
Chayapak 2023-05-17 12:50:34 +07:00
parent 1ac93c170e
commit 831258616b

View file

@ -25,11 +25,11 @@ public class DiscordCommandContext extends CommandContext {
prefix,
new MutablePlayerListEntry(
new GameProfile(
new UUID(0L, 0L),
UUID.nameUUIDFromBytes(("OfflinePlayer:" + event.getAuthor().getName()).getBytes()),
event.getAuthor().getName()
),
GameMode.SURVIVAL,
0,
-69420,
Component.text(event.getAuthor().getName()),
0L,
null,