Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[BUG] Unable to verify Itemsadder emojis on a sign #22

@NathanaelD67

Description

@NathanaelD67

Describe the bug
When I use Skript to retrieve the text of a sign containing an emoji from ItemsAdder, the emoji does not seem to appear correctly in the value returned by Skript.

To Reproduce
Steps to reproduce the behavior:

  1. Copy the skript bellow
  2. Create a sign and type :smile: (From default_pack_2.0.10)
  3. Right click on it, nothing happens

Expected behavior
When a player clicks on a sign containing an ItemsAdder emoji, Skript should correctly retrieve the value of the sign, and therefore the emoji, and allow its detection

Server Version (/version):

  • Paper version git-Paper-550 (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT) (Git: 483368e on ver/1.19.4)

Skript and skript-itemadder version:

  • Skript: 2.9.5
  • skript-itemsadder: 1.6.1
  • ItemsAdder: 3.6.6

Additional context
Skript file:

on right click on sign:
    set {_emoji} to line 1 of event-block
    set {_smile} to fontimage "twitteremojis:smile"
	
    if {_emoji} is {_smile}:
        broadcast "%{_emoji}% !"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions