Problems with Sk-Reflect

  • 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!

ItzTheMonkey

Member
Jun 24, 2024
1
0
1
16
Hi, i have an problem with skript reflect, in the console i have this error

import:
org.bukkit.Bukkit
net.coreprotect.CoreProtect
net.coreprotect.CoreProtectAPI
net.coreprotect.event.CoreProtectPreLogEvent
org.bukkit.entity.Player

on right click on chest:
if player is holding a stick named "&fLente d'ingrandimento":
if player has permission "lente.use":
cancel event

on right click on chest:
if player is holding a stick named "&fLente d'ingrandimento":
if player has permission "lente.use":
set {_logchest} to CoreProtectAPI.logInteraction(player, world)
send message "" to player
send message "&d&lIMPRONTE &8| &7Hai controllato 1 cassa" to player
send message "%{_logchest}%" to player
send message "" to player


This is the script code, the error is that
Screenshot 2024-06-24 201316.png