Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with name of event-inventory #7218

Open
1 task done
Abendsaufstehen opened this issue Nov 18, 2024 · 1 comment
Open
1 task done

Issue with name of event-inventory #7218

Abendsaufstehen opened this issue Nov 18, 2024 · 1 comment
Labels
cannot reproduce An issue that cannot be replicated.

Comments

@Abendsaufstehen
Copy link

Skript/Server Version

[15:51:01 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[15:51:01 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[15:51:01 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[15:51:01 INFO]: [Skript] Server Version: 1.21-130-b1b5d4c (MC: 1.21)
[15:51:01 INFO]: [Skript] Skript Version: 2.9.4 (skriptlang-github)
[15:51:01 INFO]: [Skript] Installed Skript Addons:
[15:51:01 INFO]: [Skript]  - PermSk v2.0.0 (https://iplexy.de)
[15:51:01 INFO]: [Skript]  - SkBee v3.6.0 (https://github.com/ShaneBeee/SkBee)
[15:51:01 INFO]: [Skript]  - SkBriggy v1.4.2 (https://github.com/ShaneBeee/SkBriggy)
[15:51:01 INFO]: [Skript] Installed dependencies: None

Bug Description

If you check the name of a gui that contains a emoji (even those that work in minecraft e.g. ⛏)

You also dont get any error messages while reloading the scripts!

Expected Behavior

image_2024-11-18_165337283

It should send "debug" to the player

Steps to Reproduce

  1. Create a GUI with a Emoji in the name (e.g. "&8⛏ Mining Skill")
  2. Use the "on inventory click:" event in pair with "if name of event-inventory is "&8⛏ Mining Skill"":
  3. Reload and no Errors, but it does not work

Errors or Screenshots

There are no erros in the console, and no erros while reloading or testing it with the bug

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
@sovdeeth
Copy link
Member

Cannot replicate on 2.9.4:

command test:
    trigger:
        open chest inventory named "&8⛏ Mining Skill" to player

on inventory click:
    broadcast "%name of event-inventory%"
    if name of event-inventory is "&8⛏ Mining Skill":
        send "test"

image
image

@sovdeeth sovdeeth added the cannot reproduce An issue that cannot be replicated. label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot reproduce An issue that cannot be replicated.
Projects
None yet
Development

No branches or pull requests

2 participants