Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

TuSKe GUI and glowing item (Glowing state glitch) #67

Closed
7GrandDadMC opened this issue Nov 10, 2018 · 0 comments
Closed

TuSKe GUI and glowing item (Glowing state glitch) #67

7GrandDadMC opened this issue Nov 10, 2018 · 0 comments

Comments

@7GrandDadMC
Copy link

7GrandDadMC commented Nov 10, 2018

https://forums.skunity.com/threads/tuske-gui-and-glowing-item.8329/
^See this skUnity forum post for the CODE

I'm making custom achievements with custom GUI for list of achievement.
I made players can claim rewards of unlocking achievement by clicking the icon of the achievement in the list GUI.

The reward-claiming system itself works well but there's one visual problem
In the achievement list GUI,
Achievement icons with rewards available have "glowing" effect for the item (glowing %itemstack%)
Achievement icons with no rewards or with rewards that is already claimed don't have glowing effect

Also the lore changes between rewards-available icons and no-rewards icon.

The lore changing works successfully but even after claiming reward, the icons keep glowing.
When I reload the .sk file, the icon's glowing states will be fixed.

I already tested with placing some debug codes (like send message) and it loaded the correct line.
I think the main glitch is "glowing" state keeps even if the GUI item is changed.

Other Information:
Server Version: Spigot 1.12.2 (Final build)
Skript Version: 2.2-dev37c
Addon for GUI: TuSKe 1.8.3-v2 (aka PikachuPatch)

@7GrandDadMC 7GrandDadMC changed the title TuSKe GUI and glowing item TuSKe GUI and glowing item (Glowing state glitch) Nov 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants