Solved Inventory Name Max Length?

Discussion in 'Plugin Development' started by ColonelHedgehog, Dec 13, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    ColonelHedgehog

    I couldn't find anything in the Javadocs or the Bukkit source on this, nor could I find it in Google. Is it 32? 16? 64? Unlimited?
     
  2. Offline

    Skionz

    teej107 likes this.
  3. Offline

    teej107

  4. Offline

    ColonelHedgehog

    32 is correct. Anything more throws an IllegalArgumentException.

    I didn't try them before because I thought the reason why a portion of my code wasn't working was because my string was too long (it wasn't printing a stack trace).
     
    teej107 likes this.
  5. Offline

    teej107

Thread Status:
Not open for further replies.

Share This Page