
Intense Lag spikes while trading for multiple stacks of items
DaCrazyRaccoon opened this issue ยท 2 comments
Information
Minecraft version: 1.21.4
Modloader: Fabric
Fabric loader version: 0.16.10
Environment: Multiplayer
Mod name: Infinite Trading
Mod version: 4.5
Description
Whenever I trade a large amount of items to a Villager quickly (e.g. One stack of iron ingots for one stack of emeralds). The game freezes for a good 30 seconds to a minute at a time. It impacts everybody on the server. I turned off the exp orbs from Villagers using anothe rmod but still to no avail. It'll sometimes even crash the server if it's frozen for too long.
Crash report
Do you get a similar freeze/crash in singleplayer?
Are you able to obtain a spark profile for the tick during which the server hangs?
I don't have the same issue in singleplayer after trading a full inventory of iron ingots to emeralds as I do on the server.
After running a start profiler, I get these results https://spark.lucko.me/f0QQhzt3D5 which seems to show that Infinite Trading might not be the issue after all...