2 posts • Page 1 of 1
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.
- Posts: 816
- Joined: Tue Apr 14, 2015 01:59
- GitHub: raymoo
- IRC: Hijiri
- In-game: Raymoo + Clownpiece
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.
Users browsing this forum: No registered users and 3 guests