You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During Runtime, the Server.Instance return null, which causes any Player.SendBroadcast call to fail with NullRef.
System.NullReferenceException: Object reference not set to an instance of an object
at PluginAPI.Core.Player.SendBroadcast (System.String message, System.UInt16 duration, Broadcast+BroadcastFlags type, System.Boolean shouldClearPrevious)
I'm using version 12.0.0-beta9
The API uses Server.Instance.GetComponent<Broadcast> in the SendBroadcast function but bc command uses Broadcast.Instance. This can be used as a WorkAround
The text was updated successfully, but these errors were encountered:
During Runtime, the
Server.Instance
return null, which causes anyPlayer.SendBroadcast
call to fail with NullRef.I'm using version
12.0.0-beta9
The API uses
Server.Instance.GetComponent<Broadcast>
in theSendBroadcast
function butbc
command usesBroadcast.Instance
. This can be used as a WorkAroundThe text was updated successfully, but these errors were encountered: