projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea1ae07
)
Fix documentation formatting for on_death callback
author
Ezhh
<owlecho@live.com>
Tue, 28 Nov 2017 00:38:35 +0000
(
00:38
+0000)
committer
rubenwardy
<rubenwardy@gmail.com>
Tue, 28 Nov 2017 00:38:35 +0000
(
00:38
+0000)
doc/lua_api.txt
patch
|
blob
|
history
diff --git
a/doc/lua_api.txt
b/doc/lua_api.txt
index b90a3974e8f2e61345403cb07eccba343e900020..72dbc087a2ff866042746ce77907d7ba7fe493b5 100644
(file)
--- a/
doc/lua_api.txt
+++ b/
doc/lua_api.txt
@@
-4222,7
+4222,7
@@
Registered entities
* `tool_capabilities`: capability table of used tool (can be `nil`)
* `dir`: unit vector of direction of punch. Always defined. Points from
the puncher to the punched.
-
`on_death(self, killer)`
+
*
`on_death(self, killer)`
* Called when the object dies.
* `killer`: an `ObjectRef` (can be `nil`)
* `on_rightclick(self, clicker)`