Fixes hierophant staff refusing to be put into backpacks (#93273)

## About The Pull Request

Now it only tries to teleport onto objects on turfs, and not in mob
inventories

## Changelog
🆑
fix: Fixed hierophant staff refusing to be put into backpacks
/🆑
This commit is contained in:
SmArtKar
2025-10-04 18:47:50 +02:00
committed by GitHub
parent 3669698d7a
commit bdc9a1a2ff
@@ -75,7 +75,7 @@
/obj/item/hierophant_club/interact_with_atom(atom/interacting_with, mob/living/user, list/modifiers)
// If our target is the beacon and the hierostaff is next to the beacon, we're trying to pick it up.
if (interacting_with == beacon)
if (interacting_with == beacon || !isturf(interacting_with.loc))
return NONE
if (!blink_activated)