Bug: 4.10 snapshot Potential INTEGER cast error

Discussion in 'Bug Reports' started by FoxStone1, Jun 30, 2020.

  1. FoxStone1

    FoxStone1 New Member
    Premium Supporter Supporter

    Joined:
    Jun 27, 2018
    Messages:
    14
    Likes Received:
    1
    Enter a brief description of what is broken 4.10 snapshot Potential INTEGER cast error

    What version of Minecraft are you using?
    1.15

    What server jar are you using? paper-374

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? 4.10b3324

    Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
    Control group skills work in v4.9.1 latest Stable, errors in test group v4.10b3324

    Pastebins with mobs and skills below with stacktrace debug L 4 console output.

    Example Configurations
    Control Group Pastebin: https://pastebin.com/Anwuw1ev

    Test Group Pastebin: https://pastebin.com/9rYDWkuU
     
    #1
  2. FoxStone1

    FoxStone1 New Member
    Premium Supporter Supporter

    Joined:
    Jun 27, 2018
    Messages:
    14
    Likes Received:
    1
    Correction 1.15.2 server version
     
    #2
  3. FoxStone1

    FoxStone1 New Member
    Premium Supporter Supporter

    Joined:
    Jun 27, 2018
    Messages:
    14
    Likes Received:
    1
    Addition - Attempted to change integers on user end; however, Java stacktrace shows that the values are being cast internally as Double instead of an option that players can set. See code block top line.


    Code:
    [22:04:47 WARN]: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Float
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.skills.variables.Variable.ofType(Variable.java:68)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.skills.mechanics.VariableSetMechanic.castAtEntity(VariableSetMechanic.java:56)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$5(SkillMechanic.java:449)
    [22:04:47 WARN]:     at java.lang.Iterable.forEach(Unknown Source)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:445)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:398)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:324)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:270)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:245)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.skills.mechanics.MetaSkillMechanic.cast(MetaSkillMechanic.java:92)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:366)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:324)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.mobs.MythicMob.lambda$executeSkills$3(MythicMob.java:1044)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.utils.Delegates$RunnableToSupplier.get(Delegates.java:126)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:653)
    [22:04:47 WARN]:     at io.lumine.xikage.mythicmobs.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:71)
    [22:04:47 WARN]:     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    [22:04:47 WARN]:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    [22:04:47 WARN]:     at java.lang.Thread.run(Unknown Source)
    
     
    #3

Share This Page