You can't specify player as source of damage when applyDamage method is used on entities. Code to reproduce:
anyEntity.applyDamage(5,{damagingEntity:mustBePlayer});
Error message:
Pack to reproduce available: down below
Status:Fixed
Reporter:ConMaster2112
Created:2023-07-09, 06:09 PM
Updated:2024-08-07, 03:28 PM
Resolved:2024-08-07, 03:28 PM
Votes:0
Watchers:1
Confirmation Status:Plausible
ADO:1074269
Labels:Script-API
Affects Versions:1.20.20.20 Preview
Fix Versions:1.20.70