Minecraft Comes Alive (MCA)

Minecraft Comes Alive (MCA)

13M Downloads

[1.7.2] Crash when accepting gift from villagers

Closed this issue ยท 3 comments

commented

Vilklaith

"[...] attempting to accept a wedding gift from other villagers also causes a crash."

commented

This is not yet implemented and will cause a crash.

commented

Well, I'm not quite sure if this fixes it - I wasn't able to recompile it using your asseble.py-script.
But if you change line 107 in LogicExtension.java to:
return new ItemStack(giftInfo[0], quantityGiven, 0)
you should at least match the types.

commented

It's a little more involved than that. The gift is taken client-side, so the server would need to be notified as to what items will be dropped. I'm planning to do away with this need and the lists in Constants.java, but I haven't had a look at it all yet.