Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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