[Bug] Client Crashing when Rendering Berries #7

Closed
opened 2016-08-12 18:48:42 +00:00 by import_user_oitsjustjose_95mQ · 2 comments
import_user_oitsjustjose_95mQ commented 2016-08-12 18:48:42 +00:00 (Migrated from git.oitsjustjose.com)

Client crashing with an ArrayIndexOutOfBoundsException when rendering berries in inventory. This is due to damage values being clamped to FRUIT_TYPES.length when finding the icon to load, which allows values 1 higher than the highest index of the array. I'll submit a fix for this soon.

Crash report

Client crashing with an ArrayIndexOutOfBoundsException when rendering berries in inventory. This is due to damage values being clamped to FRUIT_TYPES.length when finding the icon to load, which allows values 1 higher than the highest index of the array. I'll submit a fix for this soon. [Crash report](https://gist.github.com/Kraise/2faa04ca22515a808950cc14110e5813)
import_user_oitsjustjose_95mQ commented 2016-08-12 18:56:22 +00:00 (Migrated from git.oitsjustjose.com)

mentioned in merge request !17

mentioned in merge request !17
import_user_oitsjustjose_95mQ commented 2016-08-12 19:23:17 +00:00 (Migrated from git.oitsjustjose.com)

Wow, didn't realize people were still doing anything with this - I thought this project had been dead for a while ;)

Wow, didn't realize people were still doing anything with this - I thought this project had been dead for a while ;)
import_user_oitsjustjose_95mQ (Migrated from git.oitsjustjose.com) closed this issue 2016-08-12 19:23:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
oitsjustjose/MysticMods#7
No description provided.