Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support loading 1.13+ ItemStacks stored YAML on 1.12.2 and before #85

Open
bergerkiller opened this issue Dec 26, 2019 · 1 comment
Open
Labels
A. enhancement Issue is requesting for enhancements of TrainCarts features C. help wanted More help from collaborators is needed to solve this issue

Comments

@bergerkiller
Copy link
Member

bergerkiller commented Dec 26, 2019

BkCommonLib version: 1.15.1-v1-SNAPSHOT
Spigot version: 1.12.2

Problem or bug:

Loading YAML containing ItemStack information saved on MC 1.13 or later, on MC 1.12.2, does not function in all expected cases

Expected behaviour:

Can load YAML containing itemstacks saved on later versions

Steps to reproduce:

Attempt loading YAML such as:

item:
  ==: org.bukkit.inventory.ItemStack
  type: BIRCH_LEAVES
  meta:
    ==: ItemMeta
    meta-type: UNSPECIFIC
    Unbreakable: true

Which fails to find the material 'BIRCH_LEAVES' (called 'LEAVES' on 1.12.2)

@bergerkiller bergerkiller added the A. enhancement Issue is requesting for enhancements of TrainCarts features label Dec 26, 2019
@bbayu123
Copy link
Collaborator

Sounds like a pain lol

@bbayu123 bbayu123 added the C. help wanted More help from collaborators is needed to solve this issue label Feb 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A. enhancement Issue is requesting for enhancements of TrainCarts features C. help wanted More help from collaborators is needed to solve this issue
Projects
None yet
Development

No branches or pull requests

2 participants