Closed amqndin closed 6 months ago
here is the code:
$if (resist.effect.$(effect_type):@s[type=!player] == true) {
and here is the error:
JMCValueError In src/code/arthealth/combat.jmc:91:10 Unrecognized condition 'resist.effect.$' at line 91 col 10. 90 | 91 | $if (resist.effect.$(effect_type):@s[type=!player] == true) { ^^^^^^^^^^^^^^^ 92 | $effect.resist = true; Consider using one of the following: biome, block, blocks, data, dimension, entity, function, loaded, predicate, score.
try using a macro thats not wrapped in quotes in a condition
after some testing its actually the extra bracket in the macro reference that causes this issue.
This is a duplicate of https://github.com/WingedSeal/jmc/issues/98
This is a duplicate of #98
Personally I would've closed #98 and kept this one open, since #98 is a more specific version of this one.
Describe the bug
here is the code:
and here is the error:
To Reproduce
try using a macro thats not wrapped in quotes in a condition
Desktop
Additional context
after some testing its actually the extra bracket in the macro reference that causes this issue.