Skip to content

How to make lorecontains can detect string with underscore? #88

@cgw2023

Description

@cgw2023

my minecraft user name is anzai__chiyomi
An item's lore contains my name, I try to use %checkitem_lorecontains:anzai__chiyomi%, it does not work, but it works when I do %checkitem_lorecontains:anzai%.

I am trying to make automated script to check player holding item with their name in lore, but the above checkitem %checkitem_lorecontains:{player_name}% will broke if name contains underscore, how to solve this?

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