Commit Graph

6 Commits

Author SHA1 Message Date
upsilon 709bb4ec16 Record protection violations 2017-01-15 13:05:05 +01:00
upsilon c5d7e77828 Remove useless calls to minetest.is_protected in on_hit functions
(Already checked in the generic API)
2017-01-15 12:06:16 +01:00
upsilon 8a27df9c24 Fix calls to minetest.is_protected
The name parameter was not specified.
2017-01-13 18:04:41 +01:00
upsilon a6ce9315b0 Many things:
* Use global variable throwing.modname instead of local modname
* Use minetest.place_node instead of minetest.set_node for torch arrow and build arrow
* Add an error return value to the on_hit function
2017-01-12 20:49:42 +01:00
upsilon 5bd926a879 Bugfix: hitter parameter for arrows and golden arrows is an ObjectRef, not a player name 2017-01-07 14:30:46 +01:00
upsilon 1e1424ab34 First commit 2017-01-04 18:53:37 +01:00