summaryrefslogtreecommitdiffstats
path: root/Plugins/Core
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-02 12:49:18 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-02 12:49:18 +0200
commit4ea767f39bb6b4b4309a225b077a5231b701e74f (patch)
tree1994a896dac300ddb56d00a6e79af108d826f8ec /Plugins/Core
parentAdded Lua function cRoot:ForEachWorld(), removed the obsolete cRoot:GetWorld() method (both C++ and Lua) (diff)
downloadcuberite-4ea767f39bb6b4b4309a225b077a5231b701e74f.tar
cuberite-4ea767f39bb6b4b4309a225b077a5231b701e74f.tar.gz
cuberite-4ea767f39bb6b4b4309a225b077a5231b701e74f.tar.bz2
cuberite-4ea767f39bb6b4b4309a225b077a5231b701e74f.tar.lz
cuberite-4ea767f39bb6b4b4309a225b077a5231b701e74f.tar.xz
cuberite-4ea767f39bb6b4b4309a225b077a5231b701e74f.tar.zst
cuberite-4ea767f39bb6b4b4309a225b077a5231b701e74f.zip
Diffstat (limited to 'Plugins/Core')
-rw-r--r--Plugins/Core/web_playerlist.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Core/web_playerlist.lua b/Plugins/Core/web_playerlist.lua
index ed6b7667c..b7e48cc3f 100644
--- a/Plugins/Core/web_playerlist.lua
+++ b/Plugins/Core/web_playerlist.lua
@@ -1,5 +1,5 @@
function HandleRequest_PlayerList( Request )
- local World = cRoot:Get():GetWorld()
+ local World = cRoot:Get():GetDefaultWorld()
local Content = ""
if( Request.Params["playerlist-kick"] ~= nil ) then