ViaVersion / ViaFabricPlus

Fabric mod to connect to EVERY Minecraft server version (Release, Beta, Alpha, Classic, Snapshots, Bedrock) with QoL fixes to the gameplay
GNU General Public License v3.0
403 stars 42 forks source link

Using BlockItems on blocks in adventure mode does not always send an item use to the server #426

Open Felix14-v2 opened 3 months ago

Felix14-v2 commented 3 months ago

General Information

https://github.com/ViaVersion/ViaFabricPlus/assets/75726196/736bca33-7143-4b6d-95e6-6b5ff27b6c4c

Bug Description

When you try to use a block item in adventure mode, you can't perform an action if you use it close to other blocks.

Steps to Reproduce

  1. Install latest Minecraft and ViaFabricPlus versions
  2. Join any 1.12.2 server with plugins in adventure mode
  3. Try to use a block item on block
  4. See the problem

Expected Behavior

https://youtu.be/cGP0IBsW0FA

Other info

Related: https://github.com/Earthcomputer/multiconnect/issues/241

Felix14-v2 commented 3 months ago

It seems that the condition for triggering this behavior is "possibility" to place a block if you were in survival/creative

https://github.com/ViaVersion/ViaFabricPlus/assets/75726196/70cc196b-410b-4a4b-a6d0-eabd000baa3b

RaphiMC commented 3 months ago

What server version does this happen on?

Felix14-v2 commented 3 months ago
play.teslacraft.org
FlorianMichael commented 3 months ago

Are you using dev builds?

Felix14-v2 commented 3 months ago

Yes, I tested this with both release and dev builds. I can redo the tests if necessary

FlorianMichael commented 3 months ago

Yes please

Felix14-v2 commented 3 months ago

Can confirm, still occurs with the latest version from actions (also I forgot to mention the server version, 1.20.6 to 1.12.2)