Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-33246

Multicolor Fireworks crash game when given using /give, or summoned using /summon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 14w05b
    • Minecraft 13w39b, Minecraft 1.7.2, Minecraft 1.7.3, Minecraft 1.7.4, Minecraft 1.7.5
    • 64 bit Java 6 Mac OS X 10.6.8 Snow Leopard
    • Confirmed
    • Creative

      Put the summary of the bug you're here

      What I expected to happen was...:
      I expected the firework to function by bursting in a rainbow made of many colors.

      What actually happened was...:
      The firework crashed due to a particle bug, after it worked correctly, and displays the error "n must be positive."
      Also, the launcher says my game is modded, when it has no functioning mods in my game files.

      Steps to Reproduce:
      1.First, use /summon in a command block to spawn the firework. It will work for a bit, than crash on a particle.
      2. /give gives you a firework that when used, crashes.
      3. The firework used to make the entity works just fine with no crashes.

      Description: Ticking Particle
      
      java.lang.IllegalArgumentException: n must be positive
      	at java.util.Random.nextInt(Random.java:250)
      	at bjx.a(SourceFile:181)
      	at bjx.a(SourceFile:203)
      	at bjx.h(SourceFile:91)
      	at bkg.a(SourceFile:64)
      	at azd.o(SourceFile:1563)
      	at azd.ad(SourceFile:753)
      	at azd.e(SourceFile:704)
      	at net.minecraft.client.main.Main.main(SourceFile:103)
      

        1. 2014-02-28_21.16.02.png
          60 kB
          Itouch2
        2. crash-2013-10-26_15.43.14-client.txt
          19 kB
          Kumasasa
        3. Minecraft rainbow fireworks.txt
          12 kB
          Jerry Kuns

            Unassigned Unassigned
            stgiga Jerry Kuns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: