After bugfix of T165943 server not crashing anymore but I see in crashlog those errors:
[DayZAnimalCommandScriptClass::Initialize] :: [ERROR] :: DayZAnimalCommandScript first constructor parameter must be inherited from DayZAnimal.
I am really confused now.
It reporting error on this line:
```
DayzDogCommandStay cmd = new DayzDogCommandStay(AnimalBase.Cast(this));
```
and my Scripted Command looks like:
```
class DayzDogCommandStay extends DayZAnimalCommandScript
{
protected Dayz_Doggo m_Dog;
protected DayzDogST m_ST;
void DayzDogCommandStay( AnimalBase pAnimal )
{
m_Dog = Dayz_Doggo.Cast(pAnimal);
m_ST = m_Dog.GetAnimST();
}
void ~DayzDogCommandStay()
{
}
```
Why it complains? When I look to AnimalBase I see:
```
class AnimalBase extends DayZAnimal
```
AnimalBase which I have as first parameter in contructor is inherited from DayZAnimal, then explain me why it complains now?