I get this error:
when doing this:
play custom sound pack "valentinekiss" to attacker at location of attacker
(in an on damage event)
How to fix it?
[13:38:53] [Server thread/ERROR]: #!#!
[13:38:53] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[13:38:53] [Server thread/ERROR]: #!#!
[13:38:53] [Server thread/ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[13:38:53] [Server thread/ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[13:38:53] [Server thread/ERROR]: #!#! and check whether this error has already been reported.
[13:38:53] [Server thread/ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
[13:38:53] [Server thread/ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[13:38:53] [Server thread/ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[13:38:53] [Server thread/ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[13:38:53] [Server thread/ERROR]: #!#!
[13:38:53] [Server thread/ERROR]: #!#! Stack trace:
[13:38:53] [Server thread/ERROR]: #!#! java.lang.NullPointerException
[13:38:53] [Server thread/ERROR]: #!#! at net.rayfall.eyesniper2.skrayfall.generaleffects.EffPlayResourcePackSound.execute(EffPlayResourcePackSound.java:44)
[13:38:53] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:54)
[13:38:53] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)
[13:38:53] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)
[13:38:53] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[13:38:53] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:152)
[13:38:53] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:112)
[13:38:53] [Server thread/ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[13:38:53] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[13:38:53] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)
[13:38:53] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)
[13:38:53] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:89)
[13:38:53] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:572)
[13:38:53] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:479)
[13:38:53] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.handleNonLivingEntityDamageEvent(CraftEventFactory.java:623)
[13:38:53] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.handleNonLivingEntityDamageEvent(CraftEventFactory.java:609)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.EntityArmorStand.damageEntity(EntityArmorStand.java:422)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.EntityArrow.a(EntityArrow.java:293)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.EntityArrow.m(EntityArrow.java:201)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.EntityTippedArrow.m(EntityTippedArrow.java:68)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.World.entityJoinedWorld(World.java:1738)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.World.g(World.java:1713)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.World.tickEntities(World.java:1530)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.WorldServer.tickEntities(WorldServer.java:636)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:876)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:740)
[13:38:53] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:639)
[13:38:53] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
[13:38:53] [Server thread/ERROR]: #!#!
[13:38:53] [Server thread/ERROR]: #!#! Version Information:
[13:38:53] [Server thread/ERROR]: #!#! Skript: 2.2-dev20
[13:38:53] [Server thread/ERROR]: #!#! Bukkit: 1.10.2-R0.1-SNAPSHOT
[13:38:53] [Server thread/ERROR]: #!#! Minecraft: 1.10.2
[13:38:53] [Server thread/ERROR]: #!#! Java: 1.8.0_121 (Java HotSpot(TM) 64-Bit Server VM 25.121-b13)
[13:38:53] [Server thread/ERROR]: #!#! OS: Windows 8.1 amd64 6.3
[13:38:53] [Server thread/ERROR]: #!#!
[13:38:53] [Server thread/ERROR]: #!#! Running CraftBukkit: false
[13:38:53] [Server thread/ERROR]: #!#!
[13:38:53] [Server thread/ERROR]: #!#! Current node: null
[13:38:53] [Server thread/ERROR]: #!#! Current item: null
[13:38:53] [Server thread/ERROR]: #!#!
[13:38:53] [Server thread/ERROR]: #!#! Thread: Server thread
[13:38:53] [Server thread/ERROR]: #!#!
[13:38:53] [Server thread/ERROR]: #!#! End of Error.
[13:38:53] [Server thread/ERROR]: #!#!
when doing this:
play custom sound pack "valentinekiss" to attacker at location of attacker
(in an on damage event)
How to fix it?