Starting server and getting this error
"Error while compiling: BackPumpJack.cs(326,50): error CS0117: `RelationshipManager' does not contain a definition for `Instance'"
Starting server and getting this error
"Error while compiling: BackPumpJack.cs(326,50): error CS0117: `RelationshipManager' does not contain a definition for `Instance'"
Exact same issue here too.
If you open the plugin .cs file in notepad find the section below:
if (!RelationshipManager.TeamsEnabled()) return false;
var playerTeam = RelationshipManager.Instance.FindPlayersTeam(playerID);
if (playerTeam == null) return false;
var friendTeam = RelationshipManager.Instance.FindPlayersTeam(friendID);
if (friendTeam == null) return false;
return playerTeam == friendTeam;You need to insert "Server" before Instance as below:
if (!RelationshipManager.TeamsEnabled()) return false;
var playerTeam = RelationshipManager.ServerInstance.FindPlayersTeam(playerID);
if (playerTeam == null) return false;
var friendTeam = RelationshipManager.ServerInstance.FindPlayersTeam(friendID);
if (friendTeam == null) return false;
return playerTeam == friendTeam;