Nbt Crafting (Fabric)

Nbt Crafting (Fabric)

630k Downloads

[bug] Logspam on reload with some recipes (dollar ranges?) on 2.2.0

sisby-folk opened this issue ยท 0 comments

commented

Version
1.18.2 with NBT-Crafting 2.2
Describe the bug
When loading certain recipes, NBT crafting will spam the log with Failed to build reference map dynamically for recipe! errors. The recipes still work when crafting.

To Reproduce

  1. Load in the following recipe, on start or with /reload
{
    "ingredients": [
        {
            "data": {
                "require": {
                    "Damage": "$59.."
                }
            },
            "item": "minecraft:wooden_sword"
        },
        {
            "tag": "minecraft:planks"
        },
        {
            "tag": "minecraft:planks"
        }
    ],
    "result": {
        "data": {
            "$": "$i0",
            "Damage": "$i0.Damage - 59"
        },
        "item": "minecraft:wooden_sword"
    },
    "type": "minecraft:crafting_shapeless"
}
  1. Log is spammed with errors (recipe still works)

Expected behavior
Log is not spammed (assumedly the logged error indicates something else is broken too)

Log

[12:57:15] [Render thread/INFO]: Loaded 22 advancements
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/ERROR]: [Nbt Crafting] Failed to build reference map dynamically for recipe! Please report this on the Nbt Crafting issue tracker!
[12:57:15] [Thread-78/INFO]: [STDOUT]: [emi] Reloaded plugin from EMI in 115ms

Additional context
You can grab the full datapack Here if needed for testing