Crash if given too many advancements
when you try to give yourself many advancements and recipes then the game just crashes because of cannot divide by zero(as seen in the log)
To replicate this just build the little machine shown and press the button then your game should crash
tested in 1.13-pre5 and 18w19b
[15:21:47] [Server thread/INFO]: [@: Granted 571 advancements to Gewinner413] [15:21:47] [Server thread/INFO]: [@: Took 524 recipes from Gewinner413] [15:21:47] [Server thread/INFO]: [@: Unlocked 524 recipes for Gewinner413] ... [15:21:47] [Client thread/INFO]: [CHAT] [@: Granted 571 advancements to Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] [@: Took 524 recipes from Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] [@: Unlocked 524 recipes for Gewinner413] [15:21:47] [Client thread/INFO]: Loaded 571 advancements [15:21:47] [Server thread/INFO]: [@: Revoked 571 advancements from Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] [@: Revoked 571 advancements from Gewinner413] ... [15:21:47] [Server thread/INFO]: Gewinner413 has made the advancement [Acquire Hardware] ... [15:21:47] [Server thread/INFO]: [@: Granted 571 advancements to Gewinner413] [15:21:47] [Server thread/INFO]: [@: Took 524 recipes from Gewinner413] [15:21:47] [Server thread/INFO]: [@: Unlocked 524 recipes for Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] Gewinner413 has made the advancement [Remote Getaway] ... [15:21:47] [Client thread/INFO]: [CHAT] [@: Granted 571 advancements to Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] [@: Took 524 recipes from Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] [@: Unlocked 524 recipes for Gewinner413] [15:21:47] [Client thread/INFO]: Loaded 571 advancements [15:21:49] [Server thread/INFO]: [@: Revoked 571 advancements from Gewinner413] [15:21:49] [Server thread/INFO]: Gewinner413 has made the advancement [Cover Me With Diamonds] ... [15:21:49] [Server thread/INFO]: Gewinner413 has made the advancement [Acquire Hardware] [15:21:49] [Server thread/INFO]: [@: Granted 571 advancements to Gewinner413] [15:21:49] [Server thread/INFO]: [@: Took 524 recipes from Gewinner413] [15:21:49] [Server thread/INFO]: [@: Unlocked 524 recipes for Gewinner413] [15:21:49] [Client thread/FATAL]: Unreported exception thrown! java.lang.ArithmeticException: / by zero at cgu.a(SourceFile:44) ~[1.13-pre5.jar:?] at cgx$a.a(SourceFile:112) ~[1.13-pre5.jar:?] at cgx.a(SourceFile:32) ~[1.13-pre5.jar:?] at cep.c(SourceFile:810) ~[1.13-pre5.jar:?] at cep.a(SourceFile:373) [1.13-pre5.jar:?] at net.minecraft.client.main.Main.main(SourceFile:143) [1.13-pre5.jar:?]
Linked Issues
duplicates1
Created Issue:
MC crash if given too many advancements
when you try to give yourself many advancements and recipes then the game just crashes because of cannot divide by zero(as seen in the log)
To replicate this just build the little machine shown and press the button then your game should crash if it is in fullscreen mode
tested in 1.13-pre5 and 18w19b
MC crash if given too many advancementsCrash if given too many advancements
I tried it again and the game does not crash, weird.
relates to
relates to
when you try to give yourself many advancements and recipes then the game just crashes because of cannot divide by zero(as seen in the log)
To replicate this just build the little machine shown and press the button then your game should crash if it is in fullscreen mode
tested in 1.13-pre5 and 18w19b
when you try to give yourself many advancements and recipes then the game just crashes because of cannot divide by zero(as seen in the log)
To replicate this just build the little machine shown and press the button then your game should crash if it is in fullscreen mode
tested in 1.13-pre5 and 18w19b
when you try to give yourself many advancements and recipes then the game just crashes because of cannot divide by zero(as seen in the log)
To replicate this just build the little machine shown and press the button then your game should crash if it is in fullscreen mode
tested in 1.13-pre5 and 18w19b
when you try to give yourself many advancements and recipes then the game just crashes because of cannot divide by zero(as seen in the log)
To replicate this just build the little machine shown and press the button then your game should crash
tested in 1.13-pre5 and 18w19b
Could reproduce too.Oops! I tried it again and the game does not crash, weird.
when you try to give yourself many advancements and recipes then the game just crashes because of cannot divide by zero(as seen in the log)
To replicate this just build the little machine shown and press the button then your game should crash
tested in 1.13-pre5 and 18w19b
[15:21:47] [Server thread/INFO]: [@: Granted 571 advancements to Gewinner413] [15:21:47] [Server thread/INFO]: [@: Took 524 recipes from Gewinner413] [15:21:47] [Server thread/INFO]: [@: Unlocked 524 recipes for Gewinner413] ... [15:21:47] [Client thread/INFO]: [CHAT] [@: Granted 571 advancements to Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] [@: Took 524 recipes from Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] [@: Unlocked 524 recipes for Gewinner413] [15:21:47] [Client thread/INFO]: Loaded 571 advancements [15:21:47] [Server thread/INFO]: [@: Revoked 571 advancements from Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] [@: Revoked 571 advancements from Gewinner413] ... [15:21:47] [Server thread/INFO]: Gewinner413 has made the advancement [Acquire Hardware] ... [15:21:47] [Server thread/INFO]: [@: Granted 571 advancements to Gewinner413] [15:21:47] [Server thread/INFO]: [@: Took 524 recipes from Gewinner413] [15:21:47] [Server thread/INFO]: [@: Unlocked 524 recipes for Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] Gewinner413 has made the advancement [Remote Getaway] ... [15:21:47] [Client thread/INFO]: [CHAT] [@: Granted 571 advancements to Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] [@: Took 524 recipes from Gewinner413] [15:21:47] [Client thread/INFO]: [CHAT] [@: Unlocked 524 recipes for Gewinner413] [15:21:47] [Client thread/INFO]: Loaded 571 advancements [15:21:49] [Server thread/INFO]: [@: Revoked 571 advancements from Gewinner413] [15:21:49] [Server thread/INFO]: Gewinner413 has made the advancement [Cover Me With Diamonds] ... [15:21:49] [Server thread/INFO]: Gewinner413 has made the advancement [Acquire Hardware] [15:21:49] [Server thread/INFO]: [@: Granted 571 advancements to Gewinner413] [15:21:49] [Server thread/INFO]: [@: Took 524 recipes from Gewinner413] [15:21:49] [Server thread/INFO]: [@: Unlocked 524 recipes for Gewinner413] [15:21:49] [Client thread/FATAL]: Unreported exception thrown! java.lang.ArithmeticException: / by zero at cgu.a(SourceFile:44) ~[1.13-pre5.jar:?] at cgx$a.a(SourceFile:112) ~[1.13-pre5.jar:?] at cgx.a(SourceFile:32) ~[1.13-pre5.jar:?] at cep.c(SourceFile:810) ~[1.13-pre5.jar:?] at cep.a(SourceFile:373) [1.13-pre5.jar:?] at net.minecraft.client.main.Main.main(SourceFile:143) [1.13-pre5.jar:?]
duplicates
duplicates

Can confirm in 1.13-pre5.
Please post the full crash log instead of a screenshot of part of it.
Can't repro. My testworld is attached.
Pau Olivares, Matthew when you can repro, please attach your crash report.
Cannot reproduce again.
Ah, you didn't tell that you're spam clicking that button...
I tried it spam clicking the button but the game did not crash. o.O
The return of
MC-115940?As I can no longer reproduce it, I attached my testworld.
By the way, as @[Mod] tryashtar said, I think it relates to
MC-115940.Resolved as duplicate of
MC-120572Kumasasa, are you sure? I think it relates to that one because in this issue there are more commands (such as advancement ) than only the recipe one.
It's crashing at the recipies:
[15:21:49] [Server thread/INFO]: [@: Took 524 recipes from Gewinner413] [15:21:49] [Server thread/INFO]: [@: Unlocked 524 recipes for Gewinner413] [15:21:49] [Client thread/FATAL]: Unreported exception thrown! java.lang.ArithmeticException: / by zero