multiconnect

multiconnect

108k Downloads

inputs via custom mod are dropped

ayunami2000 opened this issue · 4 comments

commented

client: 1.17
server: ANY (including 1.17 AND SINGLEPLAYER!!)
logs: Dropping untranslated serverbound click slot packet, sent without the client player interaction manager

if you could either fix this or help me to fix my mod to become compatible then i will see it as fixed either way

edit: would like to clarify that no issues occur when multiconnect is removed (except of course I cannot join 1.16.5 and below servers)

commented

You need to send the click slot packet via MinecraftClient.getInstance().interactionManager.clickSlot, rather than sending the packet directly

commented
commented

Oh, you're sending a creative mode click. Then you need MinecraftClient.getInstance().interactionManager.clickCreativeStack

commented

Thank you, that fixed it!