No matter what I do, I can't seem to get this mob to only shoot when the player is in a direct line of sight. What's going on with this? It either doesn't shoot at all, or it shoots continuously regardless of how many walls are between it and the player.
targetinlineofsight not working
Code:
guard: Type: SKELETON Health: 10 Damage: 5 Options: Despawn: false PreventRandomEquipment: true PreventItemPickup: true PreventOtherDrops: true Equipment: - iron_ingot:0 - iron_helmet:4 -...