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

Please NPE evade "this.getHolder()" in CraftInventoryPlayer

XMLWordPrintable

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

      I would very much love you if you started checking for the rare case where "this.getHolder() == null" in CraftInventoryPlayer.

      Right now it's assuming that it's set and that causes a custom inventory plugin of mine to crash.

      http://gyazo.com/b68fc45a2cf1b3ccc4ae39db63e210a9
      http://gyazo.com/6fe659cba08d01654072eb6c5aaa4d5c

            Unassigned Unassigned
            Cayorion Cayorion
            Votes:
            10 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: