Smooth Swapping

Smooth Swapping

2M Downloads

Crash on sorting inventory

qingshu-ui opened this issue · 0 comments

commented

使用 InventoryProfileNext 的背包整理时栈溢出,我尝试了添加参数 -Xss2m, -Xss10m 仍然会因为这个错误崩溃游戏

使用的游戏版本是 1.21.1
mod版本 0.9.3-1.21-fabric

以下是截取的部分崩溃日志

java.lang.StackOverflowError: Rendering screen
	at knot//net.minecraft.class_332.smooth_Swapping$doSwap(class_332.java:3858)
	at knot//net.minecraft.class_332.handler$dfc000$smoothswapping$onItemDraw(class_332.java:3850)
	at knot//net.minecraft.class_332.method_51425(class_332.java)
	at knot//net.minecraft.class_332.method_51424(class_332.java:564)
	at knot//net.minecraft.class_332.method_51427(class_332.java:540)
	at knot//net.minecraft.class_332.smooth_Swapping$doSwap(class_332.java:3887)
	at knot//net.minecraft.class_332.handler$dfc000$smoothswapping$onItemDraw(class_332.java:3850)
	at knot//net.minecraft.class_332.method_51425(class_332.java)
	at knot//net.minecraft.class_332.method_51424(class_332.java:564)
	at knot//net.minecraft.class_332.method_51427(class_332.java:540)
	at knot//net.minecraft.class_332.smooth_Swapping$doSwap(class_332.java:3887)
	at knot//net.minecraft.class_332.handler$dfc000$smoothswapping$onItemDraw(class_332.java:3850)
	at knot//net.minecraft.class_332.method_51425(class_332.java)
	at knot//net.minecraft.class_332.method_51424(class_332.java:564)
	at knot//net.minecraft.class_332.method_51427(class_332.java:540)
	at knot//net.minecraft.class_332.smooth_Swapping$doSwap(class_332.java:3887)
	at knot//net.minecraft.class_332.handler$dfc000$smoothswapping$onItemDraw(class_332.java:3850)
	at knot//net.minecraft.class_332.method_51425(class_332.java)
	at knot//net.minecraft.class_332.method_51424(class_332.java:564)
	at knot//net.minecraft.class_332.method_51427(class_332.java:540)
	at knot//net.minecraft.class_332.smooth_Swapping$doSwap(class_332.java:3887)
	at knot//net.minecraft.class_332.handler$dfc000$smoothswapping$onItemDraw(class_332.java:3850)