null from TNTPrimed#getSource() in EntityExplodeEvent

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      Windows 8.1 x64, Java 1.8 x64

      TNTPrimed#getSource() can return null, I know.

      But..

      If player ignites TNT block using Flint and Steel, and then will die due to TNT explosion, getSource() method will return null instead of this player. But if player depart to a safe distance from TNT, source will return player entity.

      In other words, getSource() will return null if the player is dead at the moment of method call.

            Assignee:
            Unassigned
            Reporter:
            Zhenya Zima
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: