Actually, I think you are being too hard on the question, there is a lot to learn from questions that are not plausible scenarios. Here, we could simply reframe the question, what would happen if you prepared an object that was just like our Sun but with an empty core? That's physically allowable, though impractical of course, but the question is an entry to unearthing some misconceptions about SN that are in evidence in the original question.
It seems clear to me that Astroboy123 is imagining that a SN occurs due to the gravitational collapse of the envelope down to the core, but that's not really the case-- a SN occurs because of the collapse of the core down to an object about the size of the Earth (if it collapses further into a black hole, it hardly matters). The gravitational energy released by collapsing down to the core is only about the same as the energy that is in the Sun right now, because that's essentially what happened when the Sun formed in fhe first place.
So what we can learn about a SN from this question is that it requires a runaway effect-- as the core begins to collapse, its gravity increases, so it collapses even more. Eventually the collapse is so total that a huge amount of energy is released, and that's what blasts the envelope into kingdom come. It is a feedback mechanism that does it, not simple gravitational falling of an envelope onto a core, which would be a whimper not a bang.
(Note also that the envelope falling into the region of the empty core does not produce any more energy, because the gravity is weak in the core if it is empty-- such a fall would just rebuild the core, at similar temperatures to what the Sun is now. Eventually you'd just end up with a lower-mass main sequence star, just like the Sun only a little smaller and cooler. So there's something to be learned about stars here too!)