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

null from TNTPrimed#getSource() in EntityExplodeEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: