Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-1509

Error on unspported enchantment id

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • None
    • Gamemode Creative, used a diamond pickaxe.

      When trying to test at which enchantment level you can instant mine stained hardened clay (in this case white). I accidentally gave myself a diamond pickaxe with an enchantment id that doesn't exist (command: /give @p diamond_pickaxe 1 0 {ench:[

      {id:31,lvl:6}

      ]}). I tried to open my inventory and it gave a NullPointerException and I was disconnected. This is the error code:

      Unable to find source-code formatter for language: txt. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      [19:44:06] [Server thread/INFO]: stefvanschie lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.lang.NullPointerException
      

            Unassigned Unassigned
            stefvanschie Stef van Schie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: