CanBuild hook still allows building

Hello @Wulf, in recent updates, I noticed an error, if a player forbids construction, and the player will install a cabinet, this will not allow to do but the building will be created (zone). 

Error in CanBuild

Merged post

I solved the problem by removing the building zone, but this does not solve the general problem.

if (prefab.fullName.Contains("cupboard.tool"))
{
BuildingPrivlidge privilege = target.entity.GetBuildingPrivilege(target.entity.WorldSpaceBounds());
if (privilege!= null) privilege.Kill();
}

For hooks, all we do is inject it into an area of exsting code, we do not generally remove or add code. With that being said, the hook is placed before any building happens in Rust, so cancelling the hook should prevent any building.

In response to Wulf ():
For hooks, all we do is inject it into an area of exsting code, we do not generally remove or add co...
Look, if the construction is banned under certain conditions, the cabinet is not installed but a building zone is created