Skip to content

EssentialsX /clear Not Working As Expected #4248

@TailedPoog420

Description

@TailedPoog420

Type of bug

Other unexpected behaviour

/ess version output

Server version: 1.16.5-R0.1-SNAPSHOT 2991-Spigot (MC: 1.16.5)
EssentialsX version: 2.18.2.0
EssentialsXChat version: 2.18.2.0
LuckPerms version: 5.3.47

Server startup log

https://paste.gg/p/anonymous/0312d1109ab0492bbc52b0978fa64021

EssentialsX config files

https://paste.gg/p/anonymous/0312d1109ab0492bbc52b0978fa64021

Error log (if applicable)

https://paste.gg/p/anonymous/0312d1109ab0492bbc52b0978fa64021

Bug description

When executing clear PLAYERNAMEHERE COBBLESTONE 64 in console, if a player has any number of cobblestone in their off-hand slot, it is not removed.

I expected to be able to remove any specified number of an item using that command even if it was in their off-hand slot or in their inventory.

Pls fix. ;o;

Steps to reproduce

Execute clear PLAYERNAMEHERE COBBLESTONE 64 in console while a player has any number of cobblestone in their off-hand slot and it will not be removed.

Expected behaviour

I expected to be able to remove any specified number of an item using that command even if it was in their off-hand slot or in their inventory.

Actual behaviour

Only removes the specified number of items from the inventory, not their armor or off-hand slot as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: confirmedConfirmed bugs in EssentialsX.bug: upstreamBugs that exist in the Bukkit API or Minecraft itself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions