I am pretty sure they told Lebron to miss it but he made it accidentaly. You could see them telling him something before he shot it and then his shot had way more arch than it normally does. He probably had Stackhouse in his head and didn't want to miss the rim completely. Right after he made it you see Lebron look to the Cavs bench and shrug his shoulders