collinsmith/riiablo

Attributes.java line 234 parameter type should change from short to int.

zxh9813 opened this issue · 3 comments

I am able to run after changing below parameter from short to int
图片

iirc, this is expected behavior. stat should be a constant and within a known range unsigned 0..0x1f, all places this function is used should be read and cast to short anyways. Was there a specific problem in another area?

After I changing Attributes.java and StatListRef.java. I was able to start it.

I can start without that change. What error were you getting?