Mojira Archive
MC-266023

[Invalid/WAI] scoreboards of type "health" cannot be used as source in /scoreboard players operation

When using a function like this:

scoreboard objectives add health health
execute store result score @s health run data get entity @s Health

scoreboard players operation temp health = @s health

I get this error:

"scoreboard objective 'Health' is read-only"

However, this usage of the scoreboard is read only, so it is odd that this would be the error I get.

Invalid

InQuognito

2023-10-23, 06:04 AM

2023-12-07, 08:19 AM

2023-10-23, 05:07 PM

0

2

Unconfirmed

(Unassigned)

1.20.2

-