diff options
author | jan64 <jan64.email@gmail.com> | 2015-06-03 18:11:21 +0200 |
---|---|---|
committer | jan64 <jan64.email@gmail.com> | 2015-06-03 18:11:21 +0200 |
commit | 82adb0854e9a955cac2fd34bfbfc405d4221f79d (patch) | |
tree | ee1174963a27febab86500927d4b42dcda4c4424 /MCServer/Plugins/APIDump/Hooks | |
parent | Changed SendAboveActionBarMessage / SendSystemMessage to be a noop for < 1.8 clients (diff) | |
download | cuberite-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 '')
-rw-r--r-- | MCServer/Plugins/APIDump/Hooks/OnKilling.lua | 1 |
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 |