WHAAAAAAT ERROR SPAMMMMFixed

Loaded plugin Neutral NPCs v2.0.0 by 0x89A

 

[Neutral NPCs] test

[Neutral NPCs] test

[Neutral NPCs] test

[Neutral NPCs] test

private object OnNpcTarget(BaseAnimalNPC animal, BasePlayer target)
{
PrintWarning("test");
return CanTarget(animal, target) ? null : (object)true;
}

Merged post

{
"Use Permission": true,
"Forget time": 300.0,
"Only animals": false,
"Affect only selected": true,
"Selected entities": ["bear", "boar", "wolf"]
}

And setting it up this way also makes all animals neutral, even NPCs.

Try removing PrintWarning("test"); in line 51.

Just posted a fix. Thanks for letting me know.

Locked automatically