Projectile NPE
Error when doing
- skill{s=Test1;repeat=12;repeatInterval=2} @target
Test1:
Skills:
- projectile{StartYOffset=8;gravity=5;bulletType=ARROW;onEnd=Test2;onHit=Test2;v=25;hR=1;vR=1;i=4;TargetYOffset=10} @target
Test2:
Skills:
- damage{a=10}
and it hits a player.
[08:50:01 ERROR]: [MythicMobs] [EVENTS] Exception thrown whilst handling event: org.bukkit.event.entity.EntityDamageByEntityEvent
[08:50:01 WARN]: java.lang.NullPointerException
[08:50:01 WARN]: at io.lumine.xikage.mythicmobs.skills.projectiles.Projectile$ProjectileTracker.lambda$start$7(Projectile.java:361)
[08:50:01 WARN]: at io.lumine.xikage.mythicmobs.utils.events.functional.single.EventListener.execute(EventListener.java:115)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.EntityHuman.damageEntity0(EntityHuman.java:844)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.EntityHuman.damageEntity(EntityHuman.java:761)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.EntityPlayer.damageEntity(EntityPlayer.java:838)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.EntitySlime.i(EntitySlime.java:251)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.EntitySlime.pickup(EntitySlime.java:242)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.EntityHuman.c(EntityHuman.java:468)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.EntityHuman.movementTick(EntityHuman.java:438)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.EntityLiving.tick(EntityLiving.java:2478)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.EntityHuman.tick(EntityHuman.java:156)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.EntityPlayer.playerTick(EntityPlayer.java:508)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.PlayerConnection.tick(PlayerConnection.java:163)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.NetworkManager.a(NetworkManager.java:385)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.ServerConnection.c(ServerConnection.java:145)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.MinecraftServer.b(MinecraftServer.java:1383)
[08:50:01 WARN]: at net.minecraft.server.v1_16_R2.DedicatedServer.b(DedicatedServer.java:371)