The Bug:
The game crashes when putting items with max stack sizes above 64 into bundles.
A crash report regarding this has been attached and can be found below.
Stack Trace:
[^crash-2024-03-20_16.42.33-client.txt]
Description: Container click
java.lang.ArithmeticException: / by zero
at cvk$a.c(SourceFile:134)
at cvk$a.a(SourceFile:145)
at crg.a(SourceFile:90)
at csz.a(SourceFile:461)
at cod.a(SourceFile:535)
at cod.b(SourceFile:408)
at cod.a(SourceFile:294)
at fmq.a(SourceFile:370)
at fmb.b(SourceFile:521)
at fmq.b(SourceFile:606)
at fdf.a(SourceFile:103)
at fld.a(SourceFile:453)
at fdf.a(SourceFile:103)
at fdf.c(SourceFile:186)
at boc.execute(SourceFile:108)
at fdf.b(SourceFile:186)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3509)
at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(SourceFile:236)
at fde.c(SourceFile:1364)
at fde.f(SourceFile:895)
at net.minecraft.client.main.Main.main(SourceFile:265)
Steps to Reproduce:
Obtain a bundle.
Give yourself a diamond sword with a max stack size of 65 by using the command provided below.
/give @s minecraft:diamond_sword[minecraft:max_stack_size=65] 1
Put the diamond sword into the bundle.
Observed Behavior:
The game crashes.
Expected Behavior:
The game would not crash.
Linked issues
is duplicated by 9
4 more links
Attachments
Comments 0
No comments.