Packet event and setting blocks to air error

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

Status
Not open for further replies.

Hyao

Active Member
Apr 1, 2017
73
4
8
33
Code:
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:
set block at location of {_loc} to air
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
 
Status
Not open for further replies.