1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Could not pass event to Skript

Discussion in 'Skript' started by rustedst, May 20, 2020 at 11:54 PM.

  1. rustedst

    rustedst Active Member

    Joined:
    Apr 24, 2020
    Messages:
    35
    Likes Received:
    0
    I have this script which uses skript-mirror:
    Code (Text):
    1. on break:
    2.     set {_bl} to event-block
    3.     set {_tip} to {_bl}.getBreakSound().getSoundType()
    4.     send "%{_tip}% a" to player
    But it gives that error in console when the event is triggered:
     
    #1 rustedst, May 20, 2020 at 11:54 PM
    Last edited: May 21, 2020 at 12:17 AM
  2. Viktor Tim Aggerholm

    Supporter

    Joined:
    Dec 29, 2019
    Messages:
    182
    Likes Received:
    11
  3. 10splaya

    10splaya Member

    Joined:
    Jun 13, 2017
    Messages:
    15
    Likes Received:
    0
    What is your Spigot Version?
     
  4. ShaneBee

    Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,168
    Likes Received:
    172
    "java.lang.NoClassDefFoundError: com/destroystokyo/paper/block/BlockSoundGroup"
    You're trying to import a class from Paper, even though you're running Spigot
     
Loading...