java.lang.ClassCastException: megamek.common.BuildingTarget cannot be cast to megamek.common.Entity
due to
megamek.common.actions.GrappleAttackAction.toHit(GrappleAttackAction.java:77)
Thing is, I don't have the grapple option ticked and my mechs could not do any physical attacks. In fact, I had just finish the first round when I could not click done. Attached is the autosave and MekHQ log. The last error in the log is an unrelated (I think) NPE caused when I closed MM. Let me know if it needs its own ticket.
I restarted from the save with the same result. As can be seen in the save i have infantry in several buildings. I will try another game with no buildings and see if I get the same result.
First save. Will I need to post the custom infantry?
Second game (Mek only, no buildings) played out fine. Did notice one thing. My option for grappling was checked. Was the default changed on this as I have never played with that option on before.
So disregard "Thing is, I don't have the grapple option ticked" It was on and I didn't even know it.
Fixed in [r11762].
Related
Commit: [r11762]