Origins (Fabric)

Origins (Fabric)

15M Downloads

Scoreboard and command conditions are completely non-functional.

X66Herobrine66X opened this issue ยท 0 comments

commented

So I've tried creating two powers, as shown below.
{ "type": "origins:invisibility", "name": "Invisibility", "render_armor": false, "condition": { "type": "origins:and", "conditions": [ { "type": "origins:scoreboard", "objective": "godly_power", "comparison": ">=", "compare_to": 288000 }, { "type": "origins:command", "command": "execute if entity @s[tag=invisibility]", "comparison": "==", "compare_to": 1 } ] } }
{ "type": "origins:self_glow", "hidden": true, "bientity_condition": { "type": "origins:can_see" }, "use_teams": true, "red": 1.0, "green": 1.0, "blue": 1.0, "condition": { "type": "origins:scoreboard", "objective": "godly_power", "comparison": ">=", "compare_to": 18432000 } }
I have ensured that I meet the correct scoreboard requirement and that I have the correct tag, and neither work.
image
2023-03-27_20 30 01
Latest.log https://pastebin.com/c4Cr223d
The glow power works as soon as I remove the scoreboard condition and reload:
{ "type": "origins:self_glow", "hidden": true, "bientity_condition": { "type": "origins:can_see" }, "use_teams": true, "red": 1.0, "green": 1.0, "blue": 1.0 }
2023-03-27_20 31 48
Same with invisibility:
{ "type": "origins:invisibility", "name": "Invisibility", "render_armor": false }
2023-03-27_20 32 56

Minecraft version: 1.19.2
Fabric version: 0.14.18
Origins version: 1.7.1
Fabric API version: 0.60.0

I am not running any other mods.