diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-12-14 17:50:59 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-12-14 17:50:59 +0100 |
commit | 89ed0ba166dc3c8fce8b9601817442ce2c085956 (patch) | |
tree | dd790e2303e55b52ace744073c0a36a594caed3c /MCServer/Plugins | |
parent | Why random melon/pumpkin meta? (diff) | |
parent | Fixed mob invisibility (diff) | |
download | cuberite-89ed0ba166dc3c8fce8b9601817442ce2c085956.tar cuberite-89ed0ba166dc3c8fce8b9601817442ce2c085956.tar.gz cuberite-89ed0ba166dc3c8fce8b9601817442ce2c085956.tar.bz2 cuberite-89ed0ba166dc3c8fce8b9601817442ce2c085956.tar.lz cuberite-89ed0ba166dc3c8fce8b9601817442ce2c085956.tar.xz cuberite-89ed0ba166dc3c8fce8b9601817442ce2c085956.tar.zst cuberite-89ed0ba166dc3c8fce8b9601817442ce2c085956.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/APIDump/APIDesc.lua | 4 |
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 |