
Horse Inventory can be overfilled to cause game crash
LilcatSilly opened this issue · 12 comments
Bug Description:
Game crashes after putting more than 9 items in horse inventory.
When shift right click a horse(that has saddlebags) while dismounted you see the 3x3 item grid (9 slots)
But while mounted and opening your inventory (Pressing E by default) you see 5x3 (15 slots). Trying to full all the slots, or over 9 of them, causes a game crash with the error code " -1 "
Mod Version:
1.5 (I first found it here) and 1.6 (newest version still has it)
Minecraft Version:
1.20.1
Screenshot (Optional):
Have you tried removing other mods? Did the issue persist after removing them?:
Yes. Tested with only Livestock mod and still got the same results.
Are you on Singleplayer or a Server?:
Both have been tested and still crashes
No in both versions the horses where originally from that version to start. I did try for the sake of trying shearing the chest off a horse in the 1.6 version and after reputing it on I was still able to crash the game with the same actions.
Was this horse spawned in before 1.5 or 1.6 by chance, or is it newly-spawned after updating?
If it's an older horse, try shearing off the chests and putting them back on.
Otherwise, just let me know and I'll take a look
Wait, what's up with your breed text? LOL
I'll take a look at that too while I'm at I suppose
LOL it's been like that for me even in 1.5 (the version i first started playing of the mod) so i thought it was normal XD
Made me curious and I went to testing cause i havent had a chest on any of my horses yet. I started a new game with the latest update and have some horses there, so they are not from 1.5 or before.
When riding the inventory is 15 slots, when i open the inventory with shift-click from the ground it has only 9 slots. I cannot make my game crash with overfilling it tho. Its just as if it is cut-off in the interface, but i cannot access the items in the last 6 slots unless opening the inventory while riding.
Heres the video. I try shift clicking items in until they stop doing into the horses inventory. Then I click and drag a item (note the horse already has 9 items so im adding a 10th) into a open slot, at which the game crashes (video ends because of this)
2024-12-08.12-26-29.-.Trim.-.Trim.-.Trim.mp4
I know what the issue is caused by and will be attempting to fix it soon, please be patient with me!
Yeah okay, with trying to drag an item in I can get mine to crash as well. I usually only shift click. Interestingly enough tho mine fills the 15 slot inventory with shift click up. Only the dragging doesnt seem to work for me on those slots.