EntityExplodeEvent - BlockList should be empty for WindCharge explosions

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • CraftBukkit version 4402-Spigot-33ece3e-665900b
    • Just my Test.jar plugin
    • Yes

      I noticed recently that EntityExplodeEvent#blockList was full of blocks when a WindCharge explodes, even tho no blocks explode when that entity explodes.

      Steps to test:

      • Add Test.jar to server
      • Login, grab a "wind charge" item from creative menu
      • Throw it towards a block (it will explode and no blocks will explode)
      • Console will be flooded with blocks that exploded

      Test code from Jar:

      @EventHandler
      private void onExplode(EntityExplodeEvent event) {
          for (Block block : event.blockList()) {
              Bukkit.getConsoleSender().sendMessage("- " + block);
          }
      }
      

            Assignee:
            Unassigned
            Reporter:
            Shane Bee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: