MCA: Mob Compat 0.3.3 (Forge 1.20.1)
Curse Maven Snippet
What's new
0.3.3
- Fixed: talking to a Wandering Trader's MCA person disconnected the player on MCA 7.7.2. When MCA's own
"stay" answer was admitted for a visiting trader, the dialogue-answers hook (
McaDialogueHook,CharacterActions.dialogueAnswers) replaced MCA's answer list with anArrayList. MCA 7.7.2 checks the classes inside its Java-serialized packets and admits only theLinkedListit builds itself forInteractionDialogueResponse, so the client refused the packet ("Invalid MCA packet InteractionDialogueResponse … Class is not allowed in this MCA packet") and dropped the connection without a crash report. The hook now rewrites MCA's own list in place, so the list keeps whatever class MCA uses, and admits nothing if that list cannot be changed. Earlier MCA builds had no class check, so 0.3.2 broke only on 7.7.2. Workaround for 0.3.2:[wandering_traders] allowSettlement = falsein the world's server config. - Tests:
-PmcaDev77GameTests now run on MCA 7.7.2 (was 7.7.1-alpha.2). The trader dialogue GameTest checks that the answer list keeps MCA's own class and round-trips MCA's real dialogue packet through 7.7.2's decoder; against 0.3.2's code it fails with the original error.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include