Skip to content

ItemFlags are not hidden on old clients #1121

@Schneeeulen

Description

@Schneeeulen

'/viaversion dump' Output

https://dump.viaversion.com/bc0cfb35cca19c23491b9cbcd9e4295704913f009bf6ad85430bd6125f75e152

Server/Client Error

Bug Description

Item flags are not hidden correctly on clients that are older than the server.

Steps to Reproduce

Login with an old client (Tested 1.20.1 and 1.21.4)

create an diamond_sword with following Flags:

meta.addItemFlags( ItemFlag.HIDE_ATTRIBUTES, ItemFlag.HIDE_ADDITIONAL_TOOLTIP );

Expected Behavior

Item flags should not be visible.

Additional Server Info

No response

Checklist

  • Via plugins are only running on EITHER the backend servers (e.g. Paper) OR the proxy (e.g. Velocity), not on both.
  • I have included a ViaVersion dump.
  • If applicable, I have included a paste (not a screenshot) of the error.
  • I have tried a build from https://ci.viaversion.com/ and the issue still persists.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions