Using gui to change color potion. Large number breaks everything

Discussion in 'Bug Reports' started by KingCat, Oct 17, 2019.

  1. KingCat

    KingCat New Member

    Joined:
    Jul 19, 2019
    Messages:
    11
    Likes Received:
    6
    I was trying to create a custom potion using the GUI and when I tried to change the color, I tried to see what would happen if I gave RGB values of 10000, 10000, 10000. It broke the item and I had to go back into the file to change it. I feel like it should give a notification that it has a set value the numbers must be between instead of breaking everything.

    17.10 20:36:22 [Server] WARN [MMOItems] Task #2435 for MMOItems v4.7.17 generated an exception 17.10 20:36:22 [Server] INFO java.lang.IllegalArgumentException: Red is not between 0-255: 10000
     
    #1
  2. Indyuce

    Indyuce Developer
    Developer Supporter

    Joined:
    Jun 18, 2019
    Messages:
    18
    Likes Received:
    0
    I'm on it
     
    #2

Share This Page