This also happens with 2 entities owning eachother - I tried to set the owner of a tamed wolf to the wolf it owned, and it caused an immediate crash. Log attached
Expected behavior of the potion: Apply Instant Health, Instant Damage, and Saturation for an infinite amount of tics, similar to other effects.
Actual behavior: Only applies it for 1 tic. It doesn't work if it's just a really big number either, itll only do it for 1 tic regardless of Duration.
For the amplifier part, yes, that appears to be a similar issue, however, /effect seems to be able to apply these effects with amplifiers above 127 perfectly fine.
Well, that’s facepalm worthy of myself…
Here’s an example datapack
This also happens with 2 entities owning eachother - I tried to set the owner of a tamed wolf to the wolf it owned, and it caused an immediate crash. Log attached
Expected behavior of the potion: Apply Instant Health, Instant Damage, and Saturation for an infinite amount of tics, similar to other effects.
Actual behavior: Only applies it for 1 tic. It doesn't work if it's just a really big number either, itll only do it for 1 tic regardless of Duration.
For the amplifier part, yes, that appears to be a similar issue, however, /effect seems to be able to apply these effects with amplifiers above 127 perfectly fine.