clientcommands
clientcommands copied to clipboard
/cfinditem breaks after finding the right item
Every time I run /cfinditem, I always crash with a 255 error. I looked at my logs (cause prism launcher is amazing), and found the exact error I get that crashes my game. In this instance, I used /cfinditem dirt, and got this
https://pastebin.com/2vuvEXwT
Minecraft then gives a detailed error, which is below
https://pastebin.com/nMucg23W
If anybody has any idea of what any of that means, please let me know, and please give any suggestions into fixing it. Thank y'all!
Hi, I've looked at this a little bit, and I think that Inventory Profiles Next is making an incorrect assumption about a screen handler staying open, although I didn't quite get to the bottom of it so I don't know for sure. However I will make a bug report on that mod in case its author can provide any insights.
Hi,
So far I've tested with 1.19.3 and .4 on fabric and 1.19.3 on quilt, all single player and server, and I'm unable to reproduce the crash.
For context, this is a paper server, and I recreated it
https://user-images.githubusercontent.com/88477166/234154640-e097db46-e284-4955-988e-580ae117bb6a.mp4
I would also like to note, I am running on a mac book, so that might be the reason for the crash...
@FlameUser706 maybe we should switch to my tracker
in the meantime can you update IPN and LIBIPN to the latest versions for 1.19.3 and test again. also if it's possible test only with IPN and client commands.
Also since I don't have a Mac it will be nice if you can help with the testing.
@blackd Yeah, we can swap over
the description is misleading the proper steps to recreate the problems are
- have several chests around the player, could be empty too
- start
/cfinditem
the item we search for is relevant - before the search finishes press
E
to open the player inventory (probably will work with any other GUI)
expected result:
the player inventory opens
real result without IPN present:
- the search hangs
- one of the containers GUI opens
- after random interval of time it closes
- search continues.
with IPN present the game crashes due to a small interval of time where the PlayerEntity.currentScreenHandler doesn't return the handler of the opened screen.
I've already implemented a "fix/workaround". But @Earthcomputer may be you should not allow the player to open GUIs while there is a ongoing search?