You just load it with something other than liquid fuel. A flamethrower loaded with, for instance napalm, can be shot to pieces and never actually detonate.
....of course, you still have range to consider. Which is why almost all modern flame attack based weapons are rocket based (thermobarics).
Er, I'd use rather use a bonfire and chuck them into it.
I have 'bullet/puncture in the flamethrower I'm carrying' in my worst ways to die list..
It's pretty much just a movie/game trope.
I'd REALLY prefer not to test it
You just load it with something other than liquid fuel. A flamethrower loaded with, for instance napalm, can be shot to pieces and never actually detonate.
....of course, you still have range to consider. Which is why almost all modern flame attack based weapons are rocket based (thermobarics).