The bug
Setting the size parameter for the /particle command to 0 crashes the game.
How to reproduce
- Type in chat: /particle minecraft:dust 1 1 1 1
→ The particle will display - 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)
- duplicates
-
MC-122557 Setting the size parameter for the dust particle to 0 or very close to it crashes the game
- Resolved