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

nbt data configured in island chestItems is ignored, not displayed. #35

Closed
waseric opened this issue Jan 15, 2022 · 2 comments
Closed

Comments

@waseric
Copy link

waseric commented Jan 15, 2022

Please paste the output from /usb version below

 [uSkyBlock] Name: uSkyBlock
 Version: 2.11.0
 Description: Ultimate SkyBlock v2.11.0-c9678be
 Language: en (en)
   State: d=128, r=48, i=625, p=690, n=true, awe=false
 Server: Paper git-Paper-152 (MC: 1.18.1)
   State: online=true, bungee=true
 ------------------------------
 Vault 1.7.3-b131 (N/A)
 FastAsyncWorldEdit 2.0.0;2c4453b (N/A)
 WorldGuard 7.0.6+1cff55f (N/A)
 FastAsyncWorldEdit 2.0.0;2c4453b (N/A)
 Multiverse-Core 4.3.1-b861 (N/A)
 Multiverse-NetherPortals 4.2.1-b786 (N/A)
------------------------------

What steps will reproduce the problem?

  1. In config.yml configure nbt data for one of the starter items.
  2. Start the server, and start a new island.
  3. Check the starter chest for the starter item (lava bucket in this example).

island: chestItems example, working in 1.16.5 and 1.17.1:

    chestItems:
    - ICE:2
    - MELON_SEEDS:1
    - CACTUS:1
    #Tip: If your lava turns into \n obsidian, right click on it \n with the bucket.  It \n will turn back into lava! \n  -DogBoyOz
    - LAVA_BUCKET:1 {display:{Lore:['{"color":"red","text":"Tip:"}', '{"text":"If your lava turns into"}', '{"text":"obsidian, right click on it"}', '{"text":"with the bucket.  It will"}', '{"text":"turn back into lava!"}', '{"text":"-DogBoyOz 2016"}', '{"text":"(be sure to remove whatever turned"}', '{"text":"the lava into obsidian first)"}' ]}}
    - RED_MUSHROOM:1
    - BROWN_MUSHROOM:1
    - PUMPKIN_SEEDS:1
    - SUGAR_CANE:1
    - SIGN:1

This was reformatted during first migration of config.yml in 1.18.1 like so:

    chestItems:
    - ICE:2
    - MELON_SEEDS:1
    - CACTUS:1
    - LAVA_BUCKET:1 {display:{Lore:['{"color":"red","text":"Tip:"}', '{"text":"If
      your lava turns into"}', '{"text":"obsidian, right click on it"}', '{"text":"with
      the bucket.  It will"}', '{"text":"turn back into lava!"}', '{"text":"-DogBoyOz
      2016"}', '{"text":"(be sure to remove whatever turned"}', '{"text":"the lava
      into obsidian first)"}' ]}}
    - RED_MUSHROOM:1
    - BROWN_MUSHROOM:1
    - PUMPKIN_SEEDS:1
    - SUGAR_CANE:1
    - SIGN:1

Behavior is the same if you simply replace the LAVA_BUCKET definition from pre-import version.

expected:
image

actual:
image

@waseric
Copy link
Author

waseric commented Jan 15, 2022

We do the same thing with some of our challenge rewards - have not tested those yet.

@minoneer
Copy link
Collaborator

Stale issue that no longer applies to current versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants