summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-01 20:46:45 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-01 20:46:45 +0200
commit37f6c78404aeb92a40c1a96c856e69225788c3db (patch)
treea0fc1be5a64a00b46c6a01db21a936d6f56ab9c3 /MCServer
parentFixed burn / fire damage in each game tick. (diff)
downloadcuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar.gz
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar.bz2
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar.lz
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar.xz
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.tar.zst
cuberite-37f6c78404aeb92a40c1a96c856e69225788c3db.zip
Diffstat (limited to 'MCServer')
-rw-r--r--MCServer/Plugins/Debuggers/Debuggers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua
index fa49456bb..12929541e 100644
--- a/MCServer/Plugins/Debuggers/Debuggers.lua
+++ b/MCServer/Plugins/Debuggers/Debuggers.lua
@@ -438,7 +438,7 @@ function OnTakeDamage(Receiver, TDI)
-- Receiver is cPawn
-- TDI is TakeDamageInfo
- LOG(Receiver:GetClass() .. " was dealt RawDamage " .. TDI.RawDamage .. ", FinalDamage " .. TDI.FinalDamage .. " (that is, " .. (TDI.RawDamage - TDI.FinalDamage) .. " HPs covered by armor)");
+ LOG(Receiver:GetClass() .. " was dealt " .. DamageTypeToString(TDI.DamageType) .. " damage: Raw " .. TDI.RawDamage .. ", Final " .. TDI.FinalDamage .. " (" .. (TDI.RawDamage - TDI.FinalDamage) .. " covered by armor)");
return false;
end