Player left click handler
Player left click handler
I'm trying to call a function when a player left-clicks another player in non-PVP mode (as requested in https://github.com/zeuner/structured_co ... n/issues/1). Is this possible at all? PlayerSAO::punch seems to return without calling a handler when PVP is disabled.
-
- Member
- Posts: 818
- Joined: Tue Apr 14, 2015 01:59
- GitHub: raymoo
- IRC: Hijiri
- In-game: Raymoo + Clownpiece
Re: Player left click handler
No, I don't think so. At least without override on_use in the hand item definition, which would break digging.
Every time a mod API is left undocumented, a koala dies.
Who is online
Users browsing this forum: No registered users and 13 guests