summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-08 20:24:35 +0200
committermadmaxoft <github@xoft.cz>2013-10-08 20:24:35 +0200
commitbf9c5204399d81654d4527044485cb0af5255153 (patch)
treef136d3633cb016af3165163f11c438248812f644 /MCServer
parentImplemented the two memory-statistics functions in cRoot. (diff)
downloadcuberite-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')
-rw-r--r--MCServer/webadmin/template.lua2
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