Skip to content

Issue with using items on >= 1.17 versions #79

Open
@Cosmic-SC

Description

@Cosmic-SC

General Information

viaforge latest with optifine.
pretty sure this only happens if your actual client version is below 1.17

Bug Description

Some servers kick for "invalid item use" or just straight up ban you if you are using any version that is above or equal to 1.17.
After checking a bit, I think the issue is related to "placeBlockDirection" in the placement packet; the kick or ban only happens if the value of "placeBlockDirection" is 255.

Steps to Reproduce

join gamster (with version changed to 1.17 or above) -> join practice or bedwars or skywars -> use a consumable item.
practice and bedwars kick you while in skywars, you either get banned or kicked after some time.

Expected Behavior

you should not get kicked or banned for using items :(((

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededtime wantedTime to doing this is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions