Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] Images higher than 64x64 cause an exception #120

Open
vlOd2 opened this issue Oct 16, 2022 · 1 comment
Open

[Bug Report] Images higher than 64x64 cause an exception #120

vlOd2 opened this issue Oct 16, 2022 · 1 comment
Labels
bug Something isn't working unconfirmed Issue not yet confirmed, needs triage

Comments

@vlOd2
Copy link

vlOd2 commented Oct 16, 2022

Describe the bug
Images larger than 64x64 cause an exception at start up

To Reproduce
Steps to reproduce the behavior:

  1. Place an image larger than 64x64 in the "icons" folder
  2. Use it in an MOTD
  3. Restart the server
  4. See error

Expected behavior
The image should either be scaled or not loaded and an error or warning should be logged
Additionally a note in the configuration file should be added to state that images larger than 64x64 are not supported

Server Software and Version:

  • Vendor: BungeeCord
  • Minecraft Version: N/A
  • Output of /version command: This server is running BungeeCord version git:BungeeCord-Bootstrap:1.19-R0.1-SNAPSHOT:02548c4:1663 by md_5
@vlOd2 vlOd2 added bug Something isn't working unconfirmed Issue not yet confirmed, needs triage labels Oct 16, 2022
@jpenilla
Copy link
Owner

Unable to reproduce, I get [11:50:45 WARN] [MiniMOTD]: Could not load sample-png-images-3.png: image must be 64x64px.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed Issue not yet confirmed, needs triage
Projects
None yet
Development

No branches or pull requests

2 participants