Hello! There was a problem with SmithItemEvent :(

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Kazilsky

New Member
May 20, 2024
6
0
1
24
I need to make sure that the player's time is checked and if it is less than N hours, then it is executed like this (this wrong)
 

Attachments

  • photo_2024-05-20_16-48-23.jpg
    photo_2024-05-20_16-48-23.jpg
    29.4 KB · Views: 63
Hmm, weird. Also try debugging, broadcast %player's time% and see if it satisfies the conditions.
So I generally get an error under the condition.. This is the problem, the reflector does not work with a regular script :_)
1716226062861.png
 
ohhh right im a goof. Yeah i believe theres a method like event.getWhoClicked() and that returns a player for this event? Or a living entity? I forget
 
Yes! There is one! But I don’t quite understand how to add code with it. Can you please show me?
ohhh right im a goof. Yeah i believe theres a method like event.getWhoClicked() and that returns a player for this event? Or a living entity? I forget
Yes! There is one! But I don’t quite understand how to add code with it. Can you please show me?