public static CustomBiomesMatch ( Player player, Player other ) : bool | ||
player | Player | |
other | Player | |
return | bool |
public static bool CustomBiomesMatch(Player player, Player other)
{
foreach (ModPlayer modPlayer in player.modPlayers)
{
if (!modPlayer.CustomBiomesMatch(other))
{
return false;
}
}
return true;
}