diff options
author | madmaxoft <github@xoft.cz> | 2013-10-08 20:24:35 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-08 20:24:35 +0200 |
commit | bf9c5204399d81654d4527044485cb0af5255153 (patch) | |
tree | f136d3633cb016af3165163f11c438248812f644 /MCServer/webadmin | |
parent | Implemented the two memory-statistics functions in cRoot. (diff) | |
download | cuberite-bf9c5204399d81654d4527044485cb0af5255153.tar cuberite-bf9c5204399d81654d4527044485cb0af5255153.tar.gz cuberite-bf9c5204399d81654d4527044485cb0af5255153.tar.bz2 cuberite-bf9c5204399d81654d4527044485cb0af5255153.tar.lz cuberite-bf9c5204399d81654d4527044485cb0af5255153.tar.xz cuberite-bf9c5204399d81654d4527044485cb0af5255153.tar.zst cuberite-bf9c5204399d81654d4527044485cb0af5255153.zip |
Diffstat (limited to 'MCServer/webadmin')
-rw-r--r-- | MCServer/webadmin/template.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/webadmin/template.lua b/MCServer/webadmin/template.lua index c9fdf7148..a066d8b33 100644 --- a/MCServer/webadmin/template.lua +++ b/MCServer/webadmin/template.lua @@ -58,7 +58,7 @@ function ShowPage(WebAdmin, TemplateRequest) SiteContent = {} local BaseURL = WebAdmin:GetBaseURL(TemplateRequest.Request.Path) local Title = "MCServer" - local MemoryUsageKiB = cWebAdmin:GetMemoryUsage() + local MemoryUsageKiB = cRoot:GetPhysicalRAMUsage() local NumChunks = cRoot:Get():GetTotalChunkCount() local PluginPage = WebAdmin:GetPage(TemplateRequest.Request) local PageContent = PluginPage.Content |