It was in fact fadillzzz's random adoption system that was the cause of the problem. I reinstalled you gender ratio system and set a test pet to 102 and adopted a pet which it came out genderless. Your code works perfect it's the other mod that's causing the error.
|