Fix Send Stat lua error
This commit is contained in:
@@ -41,7 +41,7 @@ function SendPlayerEntityStats()
|
||||
entityParts[#entityParts + 1] = ("%s:%s:constructed:%s:%s"):format(playerIndex, playerName, itemName, itemCount)
|
||||
end
|
||||
end
|
||||
helpers.send_udp(udpAddress,table.concat(entityParts,"\n",serverIndex))
|
||||
helpers.send_udp(udpAddress,table.concat(entityParts,"\n"),serverIndex)
|
||||
entityParts = {}
|
||||
entityParts[#entityParts + 1] = "---player-build-stats---"
|
||||
for playerIndex, items in pairs(storage.deconstructedEntities) do
|
||||
@@ -50,7 +50,7 @@ function SendPlayerEntityStats()
|
||||
entityParts[#entityParts + 1] = ("%s:%s:deconstructed:%s:%s"):format(playerIndex, playerName, itemName, itemCount)
|
||||
end
|
||||
end
|
||||
helpers.send_udp(udpAddress,table.concat(entityParts,"\n",serverIndex))
|
||||
helpers.send_udp(udpAddress,table.concat(entityParts,"\n"),serverIndex)
|
||||
end
|
||||
|
||||
function GetMapSeed()
|
||||
|
||||
Reference in New Issue
Block a user