Skip to content
This repository was archived by the owner on Jul 24, 2022. It is now read-only.
This repository was archived by the owner on Jul 24, 2022. It is now read-only.

Inconsistent 'default-rarity' Itemstack Compatability #6

Description

@AstolfoDev

Describe the bug
The 'default-rarity' value in configuration will not work on all item-stack types, my best guess is the recent change in the 'eco' library to itemstacks is the cause. The plugin will work on items such as weapons and tools but not with misc items such as blocks, items, etc (e.g. cobblestone, torches, food, etc.)

To Reproduce
Steps to reproduce the behavior:

  1. Get any standard item such as cobblestone
  2. See that it does not have the default item rarity

Expected behavior
The item should have the rarity set in the 'default-rarity' value.

Screenshots
issue_gif

Server Information (please complete the following information):

  • Version: Paper version git-Paper-267 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: e7d928a)
  • Version of plugin and eco: RarityDisplay version 1.0.1 && eco version 6.35.3

Additional context
Recent issue. Personally noticed this yesterday but unsure if problem persisted in the past.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions