Error while compiling AutoPlant

Error while compiling AutoPlant: 'Construction.Target' does not contain a definition for 'inBuildingPrivilege' and no accessible extension method 'inBuildingPrivilege' accepting a first argument of type 'Construction.Target' could be found (are you missing a using directive or an assembly reference?) | Line: 291, Pos: 32

try this:

search for:

target.inBuildingPrivilege = true;

 

and replace it with:

BuildingPrivlidge priv = player?.GetBuildingPrivilege();
if (priv == null || !priv.IsAuthed(player))
return;

m3dus4

try this:

search for:

target.inBuildingPrivilege = true;

 

and replace it with:

BuildingPrivlidge priv = player?.GetBuildingPrivilege();
if (priv == null || !priv.IsAuthed(player))
return;

inBuildingPrivilege has been renamed to buildingBlocked