Skip to content

Commit

Permalink
Merge pull request #12 from PackmanDude/main
Browse files Browse the repository at this point in the history
Update 0.4.1
  • Loading branch information
PackmanDude authored Aug 1, 2024
2 parents 7369b52 + 55c39e4 commit 8ed0cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ packet_receiver(void *thread_arguments)
case Packet_Status_Client_Status_Request:
{
// TODO: Sanitise input (implement it after testing)
const uint8_t * const text = (const uint8_t *)"{\"version\":{\"name\":\"" MINECRAFT_VERSION "\",\"protocol\":" EXPAND_AND_STRINGIFY(PROTOCOL_VERSION) "},\"players\":{\"max\":" EXPAND_AND_STRINGIFY(MAX_PLAYERS) ",\"online\":0},\"description\":{\"text\":\"BullshitCore is up and running!\",\"favicon\":\"" FAVICON "\"}}";
const uint8_t * const text = (const uint8_t *)"{\"version\":{\"name\":\"" MINECRAFT_VERSION "\",\"protocol\":" EXPAND_AND_STRINGIFY(PROTOCOL_VERSION) "},\"players\":{\"max\":" EXPAND_AND_STRINGIFY(MAX_PLAYERS) ",\"online\":0},\"description\":{\"text\":\"BullshitCore is up and running!\"},\"favicon\":\"" FAVICON "\"}";
const size_t text_length = strlen((const char *)text);
const JSONTextComponent packet_payload =
{
Expand Down

1 comment on commit 8ed0cbd

@p0loskun
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

boolshitcore.mp4

Please sign in to comment.