Skip to content

Incorrect block picking behavior #462

Closed
@Katalijst

Description

@Katalijst

Agreements

  • I am using an official build of Nova.
  • I am running the latest version of Nova.
  • I am using a server software supported by Nova
  • I am running the latest version of my server software.
  • I have checked for similar issues.

Check for plugin incompatibilites

There are no other plugins running on my server.

Plugin Version, Server Software, Server Version

Nova-0.17-alpha.4 ; paper-1.21.1-81

Nova Addons and Versions

My WIP addon

Expected behavior

If you already have the block in your inventory it just move the selected item to an empty slot of the hotbar and then move your selected slot, or switch with the current selected slot item

Observed/Actual behavior

The normal pick block behavior of minecraft is broken, if you already have the block in your inventory it duplicate to the current selected slot. There is also an induced visual glitch if you have an empty inventory and pick a custom block multiple time, once the hotbar is full and you pick it again you see the normal vanilla block

361928367-42e4f97e-d01b-4c97-a382-0b8da324654d.mp4

Steps to reproduce

Pickup block in creative with empty inventory, custom or vanilla block

Server log

latest.log

Errors

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions