Skript

Skript

743k Downloads

Issue with name of event-inventory

Abendsaufstehen opened this issue · 2 comments

commented

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.
commented

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

commented

Closing due to inactivity