i’m getting this in my console.log a lot. it would be nice if there were any indicators as to where this issue may be popping up like Lua errors do, but there’s nothing that i can find. is there a way to track down bad net.Sends?
You can override net.Send and check manually:
local fSend = net.Send
function net.Send(pPlayer, ...)
if (pPlayer:IsPlayer()) then
return fSend(pPlayer, ...)
end
ErrorNoHalt("net.Send with non-player entity!
")
debug.Trace()
end
alright, thank you. i’ve already seemingly fixed what was throwing the error, but that’ll be useful in the future