Skip to content

server Framework bug #24

@LenixDev

Description

@LenixDev

---Creates a player object and assigns it to the class
---@param data framework_class
function Controller.createPlayer(data)
---@diagnostic disable-next-line: invisible
Players[data.source] = framework:new(data)
TriggerEvent('Renewed-Lib:server:playerLoaded', data.source, data)
end

new is an undefined field

SCRIPT ERROR: @Renewed-Lib/framework/server.lua:83: table index is nil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions