Fixed WebAdmin template after moving the memory stats functions to cRoot.
This commit is contained in:
parent
a120507be0
commit
bf9c520439
@ -58,7 +58,7 @@ function ShowPage(WebAdmin, TemplateRequest)
|
|||||||
SiteContent = {}
|
SiteContent = {}
|
||||||
local BaseURL = WebAdmin:GetBaseURL(TemplateRequest.Request.Path)
|
local BaseURL = WebAdmin:GetBaseURL(TemplateRequest.Request.Path)
|
||||||
local Title = "MCServer"
|
local Title = "MCServer"
|
||||||
local MemoryUsageKiB = cWebAdmin:GetMemoryUsage()
|
local MemoryUsageKiB = cRoot:GetPhysicalRAMUsage()
|
||||||
local NumChunks = cRoot:Get():GetTotalChunkCount()
|
local NumChunks = cRoot:Get():GetTotalChunkCount()
|
||||||
local PluginPage = WebAdmin:GetPage(TemplateRequest.Request)
|
local PluginPage = WebAdmin:GetPage(TemplateRequest.Request)
|
||||||
local PageContent = PluginPage.Content
|
local PageContent = PluginPage.Content
|
||||||
|
Loading…
Reference in New Issue
Block a user