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

World.Spigot#StrikeLightning/Effect isSilent option does nothing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • n/a
    • Yes

      Something I noticed recently in
      https://hub.spigotmc.org/javadocs/spigot/org/bukkit/World.Spigot.html#strikeLightning(org.bukkit.Location,boolean)
      and
      https://hub.spigotmc.org/javadocs/spigot/org/bukkit/World.Spigot.html#strikeLightningEffect(org.bukkit.Location,boolean)

      The boolean for isSilent actually does nothing.
      Looking at the code, I see the param isn't even used.
      Im assuming in the past it was used, and now Minecraft no longer supports it (based on a Quick Look at MC code)

      My suggestion is to update the docs to state that option is deprecated and/or does nothing

            md_5 md_5
            ShaneBee Shane Bee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: