From f62a0e137e9cb0f128c82823b0586e914c1e8e65 Mon Sep 17 00:00:00 2001 From: STRWarrior Date: Sat, 13 Dec 2014 12:59:23 +0100 Subject: Fixed the width sometimes going over the div size --- MCServer/Plugins/APIDump/main_APIDump.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'MCServer/Plugins') diff --git a/MCServer/Plugins/APIDump/main_APIDump.lua b/MCServer/Plugins/APIDump/main_APIDump.lua index a25bab9cf..01f3970fb 100644 --- a/MCServer/Plugins/APIDump/main_APIDump.lua +++ b/MCServer/Plugins/APIDump/main_APIDump.lua @@ -252,7 +252,7 @@ local function WriteHtmlHook(a_Hook, a_HookNav)

]], a_Hook.Name, [[


-
+
Index:
Articles
Classes
@@ -262,7 +262,7 @@ local function WriteHtmlHook(a_Hook, a_HookNav) ]]); f:write(a_HookNav); f:write([[ -

+

]]); f:write(LinkifyString(a_Hook.Desc, HookName)); f:write("

\n

Callback function

\n

The default name for the callback function is "); @@ -829,7 +829,7 @@ local function WriteHtmlClass(a_ClassAPI, a_ClassMenu)

]], a_ClassAPI.Name, [[


-
+
Index:
Articles
Classes
@@ -839,7 +839,7 @@ local function WriteHtmlClass(a_ClassAPI, a_ClassMenu) ]]); cf:write(a_ClassMenu); cf:write([[ -

Contents

+

Contents

    ]]); -- cgit v1.2.3 From 4f2931dd39f6606bd40d240cc70df8f1b0d002ce Mon Sep 17 00:00:00 2001 From: STRWarrior Date: Sat, 13 Dec 2014 15:33:51 +0100 Subject: Reverted main_APIDump.lua changes --- MCServer/Plugins/APIDump/main_APIDump.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'MCServer/Plugins') diff --git a/MCServer/Plugins/APIDump/main_APIDump.lua b/MCServer/Plugins/APIDump/main_APIDump.lua index 01f3970fb..a25bab9cf 100644 --- a/MCServer/Plugins/APIDump/main_APIDump.lua +++ b/MCServer/Plugins/APIDump/main_APIDump.lua @@ -252,7 +252,7 @@ local function WriteHtmlHook(a_Hook, a_HookNav)

    ]], a_Hook.Name, [[


    -
    +
    Index:
    Articles
    Classes
    @@ -262,7 +262,7 @@ local function WriteHtmlHook(a_Hook, a_HookNav) ]]); f:write(a_HookNav); f:write([[ -

    +

    ]]); f:write(LinkifyString(a_Hook.Desc, HookName)); f:write("

    \n

    Callback function

    \n

    The default name for the callback function is "); @@ -829,7 +829,7 @@ local function WriteHtmlClass(a_ClassAPI, a_ClassMenu)

    ]], a_ClassAPI.Name, [[


    -
    +
    Index:
    Articles
    Classes
    @@ -839,7 +839,7 @@ local function WriteHtmlClass(a_ClassAPI, a_ClassMenu) ]]); cf:write(a_ClassMenu); cf:write([[ -

    Contents

    +

    Contents

      ]]); -- cgit v1.2.3 From 3fb10f064c6b51336a0dfae75c212f6b0c63b049 Mon Sep 17 00:00:00 2001 From: STRWarrior Date: Sat, 13 Dec 2014 15:34:46 +0100 Subject: Made comment in example code smaller It caused the whole page to extend beyond the max width --- MCServer/Plugins/APIDump/APIDesc.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'MCServer/Plugins') 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 -- cgit v1.2.3