Relic Castle

So I made at PBTerrain I made a new terrain tag named shore.
Then at PField_Field I added
Ruby:
elsif pbGetTerrainTag(event,true) == PBTerrain::Shore
    pbSEPlay("emerald_0046")
Underneath
Ruby:
if PBTerrain.isJustGrass?(pbGetTerrainTag(event,true))  # Won't show if under bridge
    $scene.spriteset.addUserAnimation(GRASS_ANIMATION_ID,event.x,event.y,true,1)

How can I make it so the pbSEPlay("emerald_0046") only plays when player steps on a shore terrain tag, but doesn't play when an event steps on shore terrain tag?

The sound effect gets very annoying when an npc runs around shore so I would like to implement this.
Top