Quark

Quark

143M Downloads

Server's Auto Tool Restock setting is forced on all clients

ZeekDaGeek opened this issue ยท 2 comments

commented

Minecraft 1.19.2
Quark version 3.4-409

When the Quark Auto Tool Restock feature is enabled on the server side the client's preference for item restocking is not considered. Placing the last item in a stack will refill the hand with the next stack in your inventory even if the client has the setting disabled.

Alternatively, having Auto Tool Restock enabled on clientside but disabled on server side also doesn't work.

Another weird quirk of the restock feature:
I created a Hex Casting trinket that's designed to work similarly to the wand that breaks a block and replaces it with your desired block (Right click with the tool = Break targeted block, replace it with Cobble stone for example).

Imagine using a wand that places down cobble stone way outside of your reach, restock detects "No more cobble stone in hand",
it replaces the stack in hand with cobble stone, then you're left clicking with cobble stone in mid air achieving nothing.

This is with 'Enable Loose Matching' turned on, which makes sense for Netherite Pickaxe replaced with a Diamond Pickaxe. Seems a little weird for Tool replaced with blocks.

commented

Hm. This is something that currently isn't supported by Quark, but this issue is a good argument for why it should be supported.

We'd need to have the server and client exchange a handshake where they understand what features are enabled on the other, and therefore, what to enable/disable for each player.

commented

6b07f50 is the underlying framework required for this to work