Completely forgot this

I tested my commit with unchanged TShock and the code in my own plugin, thus TShock would set it back to -1 on close. This should now work as intended.