shBLOCK / IntegratedProxy

An addon mod for IntegratedDynamics.
Other
6 stars 3 forks source link

Crash Report: Crash when given doubles as the coordinates instead of integers #27

Open met4000 opened 2 years ago

met4000 commented 2 years ago

Game crash when a double-valued card is placed in a coordinate input slot, rather than an integer-valued card, as probably expected. Relevant line from crash report: java.lang.ClassCastException: [...].ValueTypeDouble$ValueDouble cannot be cast to [...].ValueTypeInteger$ValueInteger

Expected Behaviour: an error is thrown, instead of - well - crashing.

Crash Report: https://pastebin.com/raw/7EwB4w9Y

mod version
MC 1.16.5
InProxy 1.0.19
InDy 1.10.8

Note that this was tested in E6E 1.1.2, which uses an outdated version of InDy (latest is 1.10.9)

shBLOCK commented 2 years ago

Thanks for repoorting! This is the same as #26 It is fixed in the 1.18 version, but since my 1.16 dev environment was broken, I wasn't able to fix it. Unfortunatly I don't have time to fix this for now because there's a school exam comming up, so I'll leave it open for now