Skip to content

Items duplication using /clear #5894

@Dymeth

Description

@Dymeth

Type of bug

Exploit

/ess dump all output

https://essentialsx.net/dump.html?id=a7086bff46cb450daced398c9d47bb2e

Error log (if applicable)

No response

Bug description

Just easy way to duplicate any items in inventory using EssentialsX command

Steps to reproduce

  1. Give essentials.clearinventory permission for test player
  2. Take 1 torch to inventory (using workbench for example)
  3. Use /clear torch -2
  4. It will be 3 torches in inventory for now

Expected behaviour

Display error about incorrect items or just remove all items in inventory

Actual behaviour

Items are duplicates

Additional Information

Problem isn't disappear with /clear torch -1 command, but occurs with /clear torch -2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: confirmedConfirmed bugs in EssentialsX.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions