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 our 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.

Packet event and setting blocks to air error

Discussion in 'Skript' started by Hyao, Jan 14, 2019 at 2:18 PM.

  1. Hyao

    Hyao Well-Known Member

    Joined:
    Apr 1, 2017
    Messages:
    73
    Likes Received:
    4
    Code (Text):
    1. on packet event play_client_arm_animation:
    I use this code to get when the player uses the mouse button(s) to run a piece of code. In that code I have this line:
    Code (Text):
    1.  
    2. set block at location of {_loc} to air
    3.  
    which locates itself inside of a function.

    When I try to run this, I get a stacktrace:
    https://hastebin.com/virusuxubu.md

    How could this possibly be fixed? Or worked around?

    Versions:
    MudoSK 1.8.6-BETA.57
    Skript 2.3.1
    Minecraft 1.13.2
     
Loading...