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.


Posted on 02/16/2015, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: