Started by
LunarArmageddon99
on
Topic category: Help with MCreator software
If I try to make a procedure like in this image, my game crashes when trying to run it. Not sure if I'm doing something wrong here, but its going to absolutely suck regardless if I have to get rid of this code, because this entity won't be the same without doing this. I was just going to paste the crash report into this post, since it isn't that terribly long, but apparently it contains "words that are not allowed on this website" ("Forbidden. Contains contacts. Message seems to be spam. Anti-Spam by CleanTalk.").
Try checking if the entity exists in that area before finding it, that usually fixes the crash
That worked, but I'm so curious as to why. Shouldn't it just not do anything on it's own if it finds no enemies of that type in the area?
When you check if the nearest chicken is a child while there are no chickens nearby the game checks if "nothing" (null) is a child, and that's something you can't do