Skip to content

Item_count bug #32

@GlowingGavin

Description

@GlowingGavin

I was testing some stuff with some different loot tables and found that using the bastion_hoglin_stables loot pool with these constraints

[
{
"item": "minecraft:diamond_pickaxe",
"range": {
"min": 1,
"max": 1000
},
"slot": 0
},
{
"item": "minecraft:cooked_porkchop",
"range": {
"min": 20,
"max": 1000
},
"slot": 0
}
]

gives this error: kernel.cu(209): error: identifier "item_count" is undefined
local_constraints[counter_idx] += item_count;
^

kernel.cu(226): error: identifier "item_count" is undefined
local_constraints[counter_idx] += item_count;
^

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions