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

spawnParticle with DustOptions changes color randomly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Windows 10, Java 10

    • CraftBukkit version git-Spigot-1d0aef7-1fccb89 (MC: 1.13-pre7) (Implementing API version 1.13-pre7-R0.1-SNAPSHOT)

      Using spawnParticle with REDSTONE and DustOptions will result in spawning a particle with random colors

      p.spawnParticle(Particle.REDSTONE, p.getLocation().add(0, 2, 0), 4, new Particle.DustOptions(Color.AQUA, 4));
      

      Step to reproduce: run the method spawnParticle multiple times with the same options.
      Result:

       

      Code (pastebin): https://pastebin.com/HFuD9qRN

      Code (source/jar): Test.jar Test.zip

       

      Bug reports which do not 1) contain a declaration of testing in Vanilla and without plugins, or 2) in the case of plugin API bugs, contain a minimal reproduction case (source + jar please) will be closed. Bug reports must contain step by step instructions to reproduce the bug from a clean server install with no assumptions or prior knowledge. Also make sure you include the full output of /version in your report. Please copy and paste this statement to the bottom of your report to indicate that you have read and understood it.

        1. screenshot.png
          75 kB
          Lorenzo Lapucci

            Unassigned Unassigned
            HAlex Lorenzo Lapucci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: