1.12.2 Mythicmob x not infinite problem?

Discussion in 'Spigot Plugin Development' started by YangJJune, Jan 17, 2020.

  1. [21:07:39 WARN]: [MythicMobs] Task #52794223 for MythicMobs v4.5.1-2584 generated an exception
    java.lang.IllegalArgumentException: x not finite
    at org.bukkit.util.NumberConversions.checkFinite(NumberConversions.java:115) ~[patched_1.12.2.jar:git-Paper-1618]
    at org.bukkit.util.Vector.checkFinite(Vector.java:624) ~[patched_1.12.2.jar:git-Paper-1618]
    at org.bukkit.craftbukkit.v1_12_R1.entity.CraftEntity.setVelocity(CraftEntity.java:249) ~[patched_1.12.2.jar:git-Paper-1618]
    at io.lumine.xikage.mythicmobs.adapters.bukkit.BukkitSkillAdapter.shootProjectile(BukkitSkillAdapter.java:184) ~[?:?]
    at io.lumine.xikage.mythicmobs.skills.mechanics.ShootMechanic.shoot(ShootMechanic.java:174) ~[?:?]
    at io.lumine.xikage.mythicmobs.skills.mechanics.ShootMechanic.castAtEntity(ShootMechanic.java:130) ~[?:?]
    at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$3(SkillMechanic.java:451) ~[?:?]
    at java.lang.Iterable.forEach(Unknown Source) ~[?:1.8.0_231]
    at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:447) ~[?:?]
    at io.lumine.xikage.mythicmobs.skills.SkillMechanic$3.run(SkillMechanic.java:404) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1618]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[patched_1.12.2.jar:git-Paper-1618]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]

    U guys know this problem?

    Code (Text):
    slowBall:
      Cooldown: 4
      Skills:
      - shoot{type=snowball; oh=SlowDown} @Target

    SlowDown:
      Skills:
      - potion{type=SLOW;duration=200;level=1} @target
     
  2. Is this your own plugin? (If yes, show code)
    If not, ask for support on Spigot Plugin Help or at the plugin's support page/discord
     
    • Agree Agree x 1
  3. http://www.mythicmobs.net/discord get support there
     
    • Agree Agree x 1