I'm trying to damage an entity within 4.5 blocks of a right clicked block that is within 20 blocks of a player that is not the player themselves, and the if argument for the hurt command returns false even though the target is not a player.
The Code: https://paste.denizenscript.com/View/122851
The Console Debug:
https://paste.denizenscript.com/View/122852
Content of Denizen Script Paste #122851: Unnamed Denizen Script Paste... pasted 2024/05/19 11:40:57 UTC-07:00, Paste length: 1524 characters across 34 lines, Content: GIANT_SWORD_ABILITY: type: world
Content of Server Log Paste #122852: Unnamed Server Log Paste... pasted 2024/05/19 11:43:10 UTC-07:00, Paste length: 10514 characters across 83 lines, Content: [14:41:24] [Server thread/INFO]: Running script event PlayerClicksBlock, event=after player right cl...