This mistake in the code here destroyed my Ender 3 and it's enclosure. Luckily I had it in a tiled room and didn't set the house on fire. This happened so quickly that even though I was home and checking it regularly it still caught fire after only 4 minutes.
For the love of God, please fix this now before someone else uses the same code.