MiniMOTD

MiniMOTD

5k Downloads

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

vlOd2 opened this issue ยท 1 comments

commented

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
commented

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