CC:C Bridge

CC:C Bridge

5M Downloads

Advancement loading error on startup

tmvkrpxl0 opened this issue ยท 4 comments

commented

Description
Insert a clear and concise description of what the bug is.
This error is printed on startup:

[06:19:57] [main/ERROR] [minecraft/ServerAdvancementManager]: Parsing error loading custom advancement cccbridge:place_animatronic: Failed to parse 'location' field
[06:19:57] [main/ERROR] [minecraft/ServerAdvancementManager]: Parsing error loading custom advancement cccbridge:place_redrouter: Failed to parse 'location' field

and I believe advancement is not working correctly due to this.

To Reproduce
Steps to reproduce the behavior:

  1. Install cccbridge
  2. Start world. Preferably on dedicated server as the output is more cleaner.
  3. Observe that error

Expected behavior
Insert a clear and concise description of what you expected to happen.
I expected advancement to word without issue.

Software (please complete the following information):

  • Minecraft Version 1.20.1
  • Mod Version 1.6.3
  • ModLoader: Forge 47.2.30
commented

According to official source, "conditions" must contain "location" field.
But advancements of cc bridges does not. Below is part of place_redrouter.json

    "criteria": {
        "placed_redrouter": {
            "trigger": "minecraft:placed_block",
            "conditions": {
                "block": "cccbridge:redrouter_block"
            }
        }
    }

It just contains "block"

commented

Thank you for this issue! Yeah that indeed seems to be a mistake from my side. I will try to fix this.

commented

when?

commented

when?