cuberite / CuberitePluginChecker

Automated script for CI-checking Cuberite plugins
The Unlicense
3 stars 3 forks source link

Using cPlayer:GetWorld() crashes the checker #37

Open madmaxoft opened 7 years ago

madmaxoft commented 7 years ago

It seems that using cPlayer:GetWorld() crashes the checker, because it attempts to convert it to a cBroadcastInterface somehow:

Attempting to use an unknown Global value "cBroadcastInterface", nil will be returned.
stack traceback:
    Simulator.lua:1168: in function <Simulator.lua:1152>
    Simulator.lua:501: in function 'createApiEndpoint'
    Simulator.lua:554: in function <Simulator.lua:548>
    /home/ubuntu/Core/spawn.lua:6: in function 'SendPlayerToWorldSpawn'
    /home/ubuntu/Core/spawn.lua:57: in function 'Function'
    Simulator.lua:1392: in function 'processCallbackRequest'
    Simulator.lua:966: in function 'executePlayerCommand'
    Scenario.lua:179: in function 'fuzzSingleCommand'
    ...
lua: Simulator.lua:501: attempt to index field '?' (a nil value)
stack traceback:
    Simulator.lua:501: in function 'createApiEndpoint'
    Simulator.lua:554: in function <Simulator.lua:548>
    /home/ubuntu/Core/spawn.lua:6: in function 'SendPlayerToWorldSpawn'
    /home/ubuntu/Core/spawn.lua:57: in function 'Function'
    Simulator.lua:1392: in function 'processCallbackRequest'
    Simulator.lua:966: in function 'executePlayerCommand'
    Scenario.lua:179: in function 'fuzzSingleCommand'
    ...

Plugin: https://github.com/cuberite/Core/pull/197#issuecomment-324925662 CI log: https://circleci.com/gh/cuberite/Core/57