Bug: Variables placeholders can't be used in RunAIGoalSelector mechanic.

Discussion in 'Bug Reports' started by Kryfulli, Oct 11, 2019 at 4:34 PM.

  1. Kryfulli

    Kryfulli New Member

    Jan 25, 2019
    Likes Received:
    Enter a brief description of what is broken Variables placeholders can't be used in RunAIGoalSelector mechanic.

    What version of Minecraft are you using? 1.14

    What server jar are you using? PaperSpigot

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? 4.8.0 - dev 2971

    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!
    I used setVariable on the caster's scope. I then modified it with AddVariable (not important i think), and when i try using it in the RunAIGoalSelector mechanic, it gets me an exception in the console.
    "java.lang.NumberFormatException: For input string: " caster.var.moves:""

    Example Configurations
    - setVariable{var=caster.moves;value=<caster.l.x>} @self ~onSpawn
    - VariableAdd{var=caster.moves;amount=50} @self ~onSpawn
    - message{m="<caster.var.moves>, <caster.l.x>"} @PlayersInRadius{r=10} ~onSpawn
    - RunAIGoalSelector{s=gotolocation <caster.var.moves>,<caster.l.y>,<caster.l.z>} @self ~onSpawn

Share This Page