Lightman's Currency

Lightman's Currency

331k Downloads

BUG: Armor Display lags with certain other mods.

DIVINIUM-115 opened this issue ยท 4 comments

commented

Minecraft Version

1.18.2

Forge Version

40.1.84

Lightman's Currency Version

lightmanscurrency-1.18.2-2.0.0.4.jar

Environment Type

Minecraft Client (Bug/crash happened in a single-player world or while the game was booting)

Other relevant Mods

this happens on both the client and the server

tested with mods and without them

Describe the bug

in the armor display when selecting it to put a cost it gets stuck after a few seconds it opens the menu to put the cost

To Reproduce

put up armor display

simply select the put the cost and ready it will be locked for a few minutes

Screenshots/Logs/Crash Reports

https://i.imgur.com/hrwEuNO.png

commented

If it crashes the game as described in the title, please attach the crash report. I am unable to figure out why it would be crashing without it.

Also, since you claim the issue happens on both the client & the server, does both the server and the client crash, or only the client?

commented

Oh my mistake I didn't explain myself well it was night
the error occurs when having these mods

-AutoRegLib-1.7-53.jar
-lightmanscurrency-1.18.2-2.0.0.4.jar
-Quark-3.2-358.jar
-TerraBlender-forge-1.18.2-1.2.0.126.jar

everything works fine only that when opening the ui of the cost of the armor display the game causes a lag or a delay

the game does not close or anything 5 seconds it crashes but the server or the client does not close after that it unlocks and the cost ui appears

commented

Looks like the most likely cause is from the game taking some time to filter the armor items out of the item list, as I had a similar issue with all item traders just from collecting a list of every item in the game. I'll probably apply the same solution I did for the first time I encountered this issue, by having it pre-filter the item list for each Item Trade Restriction type at a more safe time.

commented

Should be fixed in v2.0.0.5