Mojira Archive
MC-123129

Setting the size parameter for the /particle command to 0 crashes the game

The bug

Setting the size parameter for the /particle command to 0 crashes the game.

How to reproduce

  1. Type in chat: /particle minecraft:dust 1 1 1 1
    → The particle will display
  2. Type in chat: /particle minecraft:dust 1 1 1 0
    → The game will crash because the size parameter is 0

Crash report

Description: Ticking Particle

java.lang.ArithmeticException: / by zero
	at bya.a(SourceFile:49)
	at byq.b(SourceFile:215)
	at byq.a(SourceFile:204)
	at byq.a(SourceFile:194)
	at byq.a(SourceFile:162)
	at bne.m(SourceFile:1289)
	at bne.b(SourceFile:791)
	at bne.a(SourceFile:380)
	at net.minecraft.client.main.Main.main(SourceFile:140)

Duplicate

Pepijn

2017-12-11, 07:59 PM

2017-12-14, 11:30 PM

2017-12-14, 07:46 AM

2

1

Confirmed

/particle, crash

Minecraft 17w50a

-