diff options
author | Alexander Harkness <me@bearbin.net> | 2014-10-01 22:37:20 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2014-10-01 22:37:20 +0200 |
commit | 7c731dbd8ac55c5e5660df0e1f745a76489b646c (patch) | |
tree | ddef2f3e713e547ee316dc7f1ce5ea77b4c02450 /MCServer | |
parent | APIDump: Fixed cEntity documentation. (diff) | |
download | cuberite-7c731dbd8ac55c5e5660df0e1f745a76489b646c.tar cuberite-7c731dbd8ac55c5e5660df0e1f745a76489b646c.tar.gz cuberite-7c731dbd8ac55c5e5660df0e1f745a76489b646c.tar.bz2 cuberite-7c731dbd8ac55c5e5660df0e1f745a76489b646c.tar.lz cuberite-7c731dbd8ac55c5e5660df0e1f745a76489b646c.tar.xz cuberite-7c731dbd8ac55c5e5660df0e1f745a76489b646c.tar.zst cuberite-7c731dbd8ac55c5e5660df0e1f745a76489b646c.zip |
Diffstat (limited to 'MCServer')
-rw-r--r-- | MCServer/Plugins/APIDump/Hooks/OnServerPing.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnServerPing.lua b/MCServer/Plugins/APIDump/Hooks/OnServerPing.lua index db1707e47..76b6d1517 100644 --- a/MCServer/Plugins/APIDump/Hooks/OnServerPing.lua +++ b/MCServer/Plugins/APIDump/Hooks/OnServerPing.lua @@ -36,7 +36,7 @@ function OnServerPing(ClientHandle, ServerDescription, OnlinePlayers, MaxPlayers -- Change favicon if cFile:IsFile("my-favicon.png") then local FaviconData = cFile:ReadWholeFile("my-favicon.png") - if FaviconData ~= "" and FaviconData ~= nil then + if (FaviconData ~= "") and (FaviconData ~= nil) then Favicon = Base64Encode(FaviconData) end end |