diff options
author | madmaxoft <github@xoft.cz> | 2014-08-03 21:32:53 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-08-03 22:04:51 +0200 |
commit | f5aaf52210369862a045c074429428012607c445 (patch) | |
tree | db2db945fac098c5c8e88204aa4b0b7cc78df746 /MCServer/Plugins/Debuggers | |
parent | cMojangAPI: Added UUID-to-Name lookup. (diff) | |
download | cuberite-f5aaf52210369862a045c074429428012607c445.tar cuberite-f5aaf52210369862a045c074429428012607c445.tar.gz cuberite-f5aaf52210369862a045c074429428012607c445.tar.bz2 cuberite-f5aaf52210369862a045c074429428012607c445.tar.lz cuberite-f5aaf52210369862a045c074429428012607c445.tar.xz cuberite-f5aaf52210369862a045c074429428012607c445.tar.zst cuberite-f5aaf52210369862a045c074429428012607c445.zip |
Diffstat (limited to 'MCServer/Plugins/Debuggers')
-rw-r--r-- | MCServer/Plugins/Debuggers/Debuggers.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua index 075cfa40c..7e220952e 100644 --- a/MCServer/Plugins/Debuggers/Debuggers.lua +++ b/MCServer/Plugins/Debuggers/Debuggers.lua @@ -339,6 +339,13 @@ function TestUUIDFromName() end LOG("UUID-from-Name resolution tests finished.") + + LOG("Performing a Name-from-UUID test...") + -- local NameToTest = "aloe_vera" + local NameToTest = "xoft" + local Name = cMojangAPI:GetPlayerNameFromUUID(UUIDs[NameToTest]) + LOG("Name(" .. UUIDs[NameToTest] .. ") = '" .. Name .. "', expected '" .. NameToTest .. "'.") + LOG("Name-from-UUID test finished.") end |