Lite mode is not reading favicon files #218
Labels
bug
Something isn't working
gate-lite
Regarding Gate Lite mode
good first issue
Good for newcomers
priority/high
High priority task
Hi there! I was just trying the new Lite mode that was recently introduced. I've been trying to make it work with a favicon file, but it doesn't show the image on the Minecraft server list.
I've done a bit of debugging and I think it is because the code for Lite mode is never calling the Favicon parsing function as it does with the normal mode.
As you can see here, the value for
Favicon
in thefallbackPong
is still the filename, not the image in base64:The code from the screenshot is from
pkg/edition/java/lite/forward.go
.I tried setting a debug point in the Favicon parse function, but it's never called when using Lite mode.
This is the config file I've been using:
The image is a valid 64x64 PNG file:
And this is the logs generated by Gate with debug mode enabled:
If you use a base64 image, it does work correctly in Lite mode.
I'm not really experienced with Go but I do use other languages so that's why I was able to debug the source. I'd love to contribute to this but I haven't done any Go programming before.
The text was updated successfully, but these errors were encountered: