Skript

Skript

788k Downloads

Some item flags don't work

Closed this issue ยท 2 comments

commented

Skript/Server Version

[19:14:14 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[19:14:14 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[19:14:14 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[19:14:14 INFO]: [Skript] Server Version: 1.21-130-b1b5d4c (MC: 1.21)
[19:14:14 INFO]: [Skript] Skript Version: 2.10.2 (skriptlang-github)
[19:14:14 INFO]: [Skript] Installed Skript Addons: 
[19:14:14 INFO]: [Skript]  - skript-reflect v2.6 (https://github.com/SkriptLang/skript-reflect)
[19:14:14 INFO]: [Skript]  - skript-particle v1.3.2 (https://github.com/sovdeeth/skript-particle)
[19:14:14 INFO]: [Skript]  - SkBee v3.10.2 (https://github.com/ShaneBeee/SkBee)
[19:14:14 INFO]: [Skript] Installed dependencies: 
[19:14:14 INFO]: [Skript]  - Vault v1.7.3-b131

Bug Description

When using with item flag hide additional tooltip with potions, it does that in the player's inventory but then just removes the item flag. But in GUIs it doesn't do that and shows the intended item

Expected Behavior

Removes additional tooltip from the item in the player's inventory

Steps to Reproduce

on load:
    set {other_items::bottle_of_lightning} to potion of strength named "&bBottle of Lightning" with lore "&fFrom the eye of the storm, a foe descends" and "&fwith a glass of pure energy within its grasp." and "&fAn Ingredient to the thunder punch spell!" and "&8&oUncraftable" with item flag hide additional tooltip


    force {other_items::*} to glint
    dye {other_items::bottle_of_lightning} (121, 226, 252)

command lightningbottle:
    trigger:
        give player 1 of {other_items::bottle_of_lightning}
        
command gui:
    trigger:
        open chest inventory with 3 rows named "test" to player
        set slot 0 of player's current inventory to {other_items::bottle_of_lightning} 

Errors or Screenshots

Image Image

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

Cannot replicate on 1.21.4, 2.12.0-pre2. Will test on user's MC version

commented

Cannot replicate on 1.21.1 or 1.21 with skript 2.12.0-pre2. Likely a bug that has been fixed since 2.10.2
Re-open if you can replicate on 2.12.