Skip to content

Commit 05ff4a0

Browse files
committed
Fix wrong parsing for Data IDs
1 parent 0f70292 commit 05ff4a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/commands/data.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Utils.registerCommand({
100100
restricted = true,
101101
}, function(_, args)
102102
local player = Utils.parsePlayerParam('player', args[1])
103-
local dataId = Utils.parseUserIdParam('dataId', args[2])
103+
local dataId = Utils.parseDataIdParam('dataId', args[2])
104104

105105
local name = GetPlayerName(player)
106106

@@ -211,7 +211,7 @@ Utils.registerCommand({
211211
},
212212
restricted = true,
213213
}, function(_, args)
214-
local dataId = Utils.parseUserIdParam('dataId', args[1])
214+
local dataId = Utils.parseDataIdParam('dataId', args[1])
215215
local newUserId = Utils.parseUserIdParam('newUserId', args[2])
216216
local confirm = args[3]
217217

0 commit comments

Comments
 (0)