summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/APIDump/APIDesc.lua
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-12-13 15:34:46 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-12-13 15:34:46 +0100
commit3fb10f064c6b51336a0dfae75c212f6b0c63b049 (patch)
tree7b5b123d6d60e12956e2b8625cef0b2c138a7592 /MCServer/Plugins/APIDump/APIDesc.lua
parentReverted main_APIDump.lua changes (diff)
downloadcuberite-3fb10f064c6b51336a0dfae75c212f6b0c63b049.tar
cuberite-3fb10f064c6b51336a0dfae75c212f6b0c63b049.tar.gz
cuberite-3fb10f064c6b51336a0dfae75c212f6b0c63b049.tar.bz2
cuberite-3fb10f064c6b51336a0dfae75c212f6b0c63b049.tar.lz
cuberite-3fb10f064c6b51336a0dfae75c212f6b0c63b049.tar.xz
cuberite-3fb10f064c6b51336a0dfae75c212f6b0c63b049.tar.zst
cuberite-3fb10f064c6b51336a0dfae75c212f6b0c63b049.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/APIDump/APIDesc.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/APIDesc.lua b/MCServer/Plugins/APIDump/APIDesc.lua
index 72dcce5e4..ba3763724 100644
--- a/MCServer/Plugins/APIDump/APIDesc.lua
+++ b/MCServer/Plugins/APIDump/APIDesc.lua
@@ -2564,7 +2564,9 @@ World:ForEachEntity(
if not(a_Entity:IsMob()) then
return;
end
- local Monster = tolua.cast(a_Entity, "cMonster"); -- Get the cMonster out of cEntity, now that we know the entity represents one.
+
+ -- Get the cMonster out of cEntity, now that we know the entity represents one.
+ local Monster = tolua.cast(a_Entity, "cMonster");
if (Monster:GetMobType() == mtSpider) then
Monster:TeleportToCoords(Monster:GetPosX(), Monster:GetPosY() + 100, Monster:GetPosZ());
end