Isn't it from the speedkart gamemode? Btw thanks I see this being handy.
The code is copied from SpeedKart, yes. I more-or-less just added Blockland Glass preferences.
Wasn't there already a mod like this tho? Still useful
I could have sworn there was. But I couldn't find, and I needed it. So I just made it.