Skip to content

%checkitem_getinfo:mainhand_loreequals:<number>% Error #89

@MPEduardo98

Description

@MPEduardo98

It turns out that if you're checking the lore of items, using the placeholder, for example, %checkitem_getinfo:mainhand_loreequals:2%, but the item doesn't have any lore lines, then it sends an error to the console.

We could say this is normal to a certain extent, because it obviously doesn't have any lore, but when I use the placeholder in a checker, for example, ExecutableItems, I say:

If %checkitem_getinfo:mainhand_loreequals:2% is different from Test, then it executes the command, but it turns out that %checkitem_getinfo:mainhand_loreequals:2% gives me an error in the console, and the check can't be performed because it literally isn't returning a value.

What should happen is that if I use %checkitem_getinfo:mainhand_loreequals:2% and the item doesn't have any lore, it just returns a blank space.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions