summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/onkilling.lua
diff options
context:
space:
mode:
authornielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-28 20:43:29 +0200
committernielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-28 20:43:29 +0200
commitcff6ff2223247997d357fc9421a2cfa3a5a54598 (patch)
tree755347c25db8c6db4a1fe95c34d0863425482bd9 /MCServer/Plugins/Core/onkilling.lua
parentAdded /listworlds command and fixed bug in /listgroups where you have an extra comma at the end. (diff)
downloadcuberite-cff6ff2223247997d357fc9421a2cfa3a5a54598.tar
cuberite-cff6ff2223247997d357fc9421a2cfa3a5a54598.tar.gz
cuberite-cff6ff2223247997d357fc9421a2cfa3a5a54598.tar.bz2
cuberite-cff6ff2223247997d357fc9421a2cfa3a5a54598.tar.lz
cuberite-cff6ff2223247997d357fc9421a2cfa3a5a54598.tar.xz
cuberite-cff6ff2223247997d357fc9421a2cfa3a5a54598.tar.zst
cuberite-cff6ff2223247997d357fc9421a2cfa3a5a54598.zip
Diffstat (limited to 'MCServer/Plugins/Core/onkilling.lua')
-rw-r--r--MCServer/Plugins/Core/onkilling.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/MCServer/Plugins/Core/onkilling.lua b/MCServer/Plugins/Core/onkilling.lua
index 80eb348ad..e74f36065 100644
--- a/MCServer/Plugins/Core/onkilling.lua
+++ b/MCServer/Plugins/Core/onkilling.lua
@@ -1,5 +1,6 @@
function OnKilling(Victim, Killer)
if Victim:IsPlayer() then
+ SetBackCoordinates( Victim )
Server = cRoot:Get():GetServer()
if Killer == nil then
if Victim:IsOnFire() then