public static void GetDyeTraderReward(Player player, List<int> rewardPool) { foreach (ModPlayer modPlayer in player.modPlayers) { modPlayer.GetDyeTraderReward(rewardPool); } }