Mojira Archive
MC-33246

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

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)

Fixed

Jerry Kuns

2013-09-29, 08:16 PM

2015-05-07, 05:53 PM

2014-02-28, 10:22 PM

0

3

Confirmed

crash

Minecraft 13w39b - Minecraft 1.7.5Minecraft 13w39b, Minecraft 1.7.2, Minecraft 1.7.3, Minecraft 1.7.4, Minecraft 1.7.5

Minecraft 14w05b