summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/Hooks
diff options
context:
space:
mode:
authorjan64 <jan64.email@gmail.com>2015-06-03 18:11:21 +0200
committerjan64 <jan64.email@gmail.com>2015-06-03 18:11:21 +0200
commit82adb0854e9a955cac2fd34bfbfc405d4221f79d (patch)
treeee1174963a27febab86500927d4b42dcda4c4424 /MCServer/Plugins/APIDump/Hooks
parentChanged SendAboveActionBarMessage / SendSystemMessage to be a noop for < 1.8 clients (diff)
downloadcuberite-82adb0854e9a955cac2fd34bfbfc405d4221f79d.tar
cuberite-82adb0854e9a955cac2fd34bfbfc405d4221f79d.tar.gz
cuberite-82adb0854e9a955cac2fd34bfbfc405d4221f79d.tar.bz2
cuberite-82adb0854e9a955cac2fd34bfbfc405d4221f79d.tar.lz
cuberite-82adb0854e9a955cac2fd34bfbfc405d4221f79d.tar.xz
cuberite-82adb0854e9a955cac2fd34bfbfc405d4221f79d.tar.zst
cuberite-82adb0854e9a955cac2fd34bfbfc405d4221f79d.zip
Diffstat (limited to 'MCServer/Plugins/APIDump/Hooks')
-rw-r--r--MCServer/Plugins/APIDump/Hooks/OnKilling.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnKilling.lua b/MCServer/Plugins/APIDump/Hooks/OnKilling.lua
index 8ec1cfe2e..5e84009db 100644
--- a/MCServer/Plugins/APIDump/Hooks/OnKilling.lua
+++ b/MCServer/Plugins/APIDump/Hooks/OnKilling.lua
@@ -17,6 +17,7 @@ return
{
{ Name = "Victim", Type = "{{cPawn}}", Notes = "The player or mob that is about to be killed" },
{ Name = "Killer", Type = "{{cEntity}}", Notes = "The entity that has caused the victim to lose the last point of health. May be nil for environment damage" },
+ { Name = "TDI", Type = "{{TakeDamageInfo}}", Notes = "The damage type, cause and effects." },
},
Returns = [[
If the function returns false or no value, MCServer calls other plugins with this event. If the