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

Enderman#getCarriedMaterial() causes an NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None

      When calling Enderman#getCarriedMaterial, it will throw an NPE such as the error in CoreProtect here: http://pastebin.com/FxwPyDxX

      This is because `EntityEnderman#getCarried()` returns a null `IBlockData`, where `CraftEnderman` expects it to be nonnull.

            Unassigned Unassigned
            ZephireNZ Brynley McDonald
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: