Apologies For the Friday the 13th Massacre
To everyone using EnviroMine on Friday the 13th, I apologies for the unintentional massacre the Grue caused. It was supposed to be confined to the cave dimension and be a relatively rare event but 2 bugs left it free to attack anyone, any time. I have since fixed it but still contemplating whether I should take the Easter Egg out of the mod completely, it was never supposed to get this out of control.
For those interested in which two bugs occurred, here’s the explanation:
1) The piece of code controlling the event was indeed supposed to go off on Friday the 13th (it also applies for Halloween and in EXTREMELY rare cases on every other day) however a logical mix up in the check also caused it to skip the dimension check making the rest of the script run on every other world.
2) Although the Grue was programmed to only attack in darkness I forgot a second check for daylight (block light and daylight are supposed to be calculated separately) and this ended up meaning that even players in broad daylight were vulnerable.