Law ain't even close to any shs or luffy fanboys lol.
He's just thankful to luffy for taking down doffy. Which law should have been given the chance anyway. But since this is the Nika story, he was robbed of his revenge.
Other than that, law had full autonomy and freedom and isn't acting for luffy.