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

Inconsistent 'default-rarity' Itemstack Compatability #6

Open
AstolfoDev opened this issue May 3, 2022 · 0 comments
Open

Inconsistent 'default-rarity' Itemstack Compatability #6

AstolfoDev opened this issue May 3, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@AstolfoDev
Copy link

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.

@AstolfoDev AstolfoDev added the bug Something isn't working label May 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant