Skip to content

Commit 541e1fd

Browse files
authored
Fix errors (#38)
* Update World.lua * Update World.lua * Update Misc.lua
1 parent 6461d38 commit 541e1fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

APIImpl/Misc.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ return
3838
return a_Simulator:typeOf(a_Object)
3939
end,
4040

41-
["cRoot:DoWithPlayerByUUID(string, function)"] = function(a_Simulator, a_Root, a_PlayerUUID, a_Callback)
41+
["cRoot:DoWithPlayerByUUID(cUUID, function)"] = function(a_Simulator, a_Root, a_PlayerUUID, a_Callback)
4242
for playerName, player in pairs(a_Simulator.players) do
4343
if (player.uuid == a_Uuid) then
4444
local res = a_Simulator:processCallbackRequest({

APIImpl/World.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ return
181181
end,
182182

183183

184-
["cWorld:DoWithPlayerByUUID(string, function)"] = function(a_Simulator, a_Self, a_Uuid, a_Callback)
184+
["cWorld:DoWithPlayerByUUID(cUUID, function)"] = function(a_Simulator, a_Self, a_Uuid, a_Callback)
185185
local worldName = rawget(getmetatable(a_Self), "simulatorInternal_Name")
186186
if not(worldName) then
187187
a_Simulator.logger:debug("cWorld:DoWithPlayerByUUID() cannot execute the callback, because the cWorld has no name.")

0 commit comments

Comments
 (0)