Skip to content

Query bug when motd is tweaked #2

@danielsawan

Description

@danielsawan

There is a bug in this API if you start the Minecraft server with

motd=\u00A7e<\u0000

In the QueryResponse.java there is
motd = new String(temp[3]);

but when you put this strange motd the temp[4] is empty and then all others variable attribution are wrong.

To produce the bug just put motd=\u00A7e<\u0000 in your server.properties file and start the server. Then try to get the full Query info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions