Bug Closed · Resolved

setvarloc gives console error BUT works

#4848 opened by Unknown 2 years ago

Unknownreported this bug

Summary

When I use this setup it gives an error I discussed with Lxlp and he told me to report it because everything should be working fine

Steps to reproduce

Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.

[14:58:08 WARN]: [MythicMobs] ✗ Configuration Error in Mechanic variableSetLocation
[14:58:08 WARN]: [MythicMobs] --| Skill: TurretSpawn_v1 | File: /home/container/plugins/MythicMobs/skills/timmieskilltest.yml
[14:58:08 WARN]: [MythicMobs] --| Error Message: Failed to get variable registry
[14:58:08 WARN]: [MythicMobs] --| Mechanic Line: setvarloc{var=target.JumpLocation;v=@SelfEyeLocation}

Skills:

TurretSpawn_v1:
  Skills:
  - summon{type=HuntsmanTurret} @self 
  - delay 1   
  - setvarloc{var=target.JumpLocation;v=@SelfEyeLocation} @Children

TurretJump_v1:
  Skills:
  - delay 1
  - lunge{velocity=1;velocityY=1} @VariableLocation{var=caster.JumpLocation}

Mobs:

HuntsmanTurret:
  Type: ARMOR_STAND
  Pose:
    RightArm: -60,0,90
    LeftArm: -60,0,-90  
  Options:
    Small: true  
    Interactable: false    
    Invisible: true    
    Invincible: true   
    HasArms: true    
  Equipment:
  - PLAYER_HEAD HEAD
  - LEATHER_CHESTPLATE CHEST
  - LEATHER_LEGGINGS LEGS
  - LEATHER_BOOTS FEET
  - BOW HAND   
  - BOW OFFHAND
  Skills:
  - skill{s=TurretJump_v1} ~onSpawn
  - skill{s=Turret_basic_ATTACK} ~onTimer:20
  - remove{delay=600} @self ~onSpawn  

any one knows why I get the error because everying works but MM doesnt like it and trows an error <@353257382811533322>

Current behavior

It trows a server error

Intended correct behavior

Don't give a server error because everything should work fine

Server log file

https://mclo.gs/cz4YBWH

Proposed fixes

Describe what you think the issue or any potential fixes may be.

Sign in to join the discussion.