diff options
author | Alexander Harkness <me@bearbin.net> | 2014-12-13 15:39:22 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2014-12-13 15:39:22 +0100 |
commit | 72b38c284f4d99cca56f359fcc59c3a8d29ac625 (patch) | |
tree | 39f67690e371254066607dc8436aa68a9a6adb15 /MCServer/Plugins | |
parent | Merge pull request #1660 from Seadragon91/master (diff) | |
parent | Made comment in example code smaller (diff) | |
download | cuberite-72b38c284f4d99cca56f359fcc59c3a8d29ac625.tar cuberite-72b38c284f4d99cca56f359fcc59c3a8d29ac625.tar.gz cuberite-72b38c284f4d99cca56f359fcc59c3a8d29ac625.tar.bz2 cuberite-72b38c284f4d99cca56f359fcc59c3a8d29ac625.tar.lz cuberite-72b38c284f4d99cca56f359fcc59c3a8d29ac625.tar.xz cuberite-72b38c284f4d99cca56f359fcc59c3a8d29ac625.tar.zst cuberite-72b38c284f4d99cca56f359fcc59c3a8d29ac625.zip |
Diffstat (limited to 'MCServer/Plugins')
-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 |